diff options
author | Helmut Grohne <helmut@subdivi.de> | 2024-02-16 15:20:00 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2024-02-16 15:20:00 +0100 |
commit | 12f32219ff6a7e0eef6b914589d47066480404de (patch) | |
tree | 790ae738e5a0b2117143d5cec508ec4b37ea2a7d /linuxnamespaces/tarutils.py | |
parent | d8ecc510108426fba8f9a53e0d5fa54d5942e75f (diff) | |
download | python-linuxnamespaces-12f32219ff6a7e0eef6b914589d47066480404de.tar.gz |
add an async read method to EventFD
Adding an async write does not work for values larger than 1, because
the fd becomes writable once a value of 1 can be written, but a larger
value might still cause EAGAIN putting us into a busy loop. Hitting the
limit with writing ones is implausible, so async code can just use the
synchronous write method.
Diffstat (limited to 'linuxnamespaces/tarutils.py')
0 files changed, 0 insertions, 0 deletions