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