class documentation
class _ExhaustsFileDescriptors: (source)
Implements interfaces: twisted.internet.test.test_tcp._IExhaustsFileDescriptors
A class that triggers EMFILE by creating as many file descriptors as necessary.
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 . |
Instance Variable | file |
A factory that creates a new file descriptor. |
Class Variable | _log |
Undocumented |
Instance Variable | _close |
Undocumented |
Instance Variable | _file |
Undocumented |
Instance Variable | _file |
Undocumented |
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. |