interface documentation
class _IExhaustsFileDescriptors(Interface): (source)
Known implementations: twisted.internet.test.test_tcp.AssertPeerClosedOnEMFILETests.NullExhauster
, twisted.internet.test.test_tcp._ExhaustsFileDescriptors
A way to trigger EMFILE.
Method | count |
Return the number of opened file descriptors. |
Method | exhaust |
Open file descriptors until EMFILE is reached. |
Method | release |
Release all file descriptors opened by exhaust . |
Return the number of opened file descriptors.
Returns | |
int | The number of opened file descriptors; this will be zero if this instance has not opened any. |