tractor/tractor/ipc
Guillermo Rodriguez c424f6c8d5
Better encapsulate RingBuff ctx managment methods and support non ipc usage
Add trio.StrictFIFOLock on sender.send_all
Support max_bytes argument on receive_some, keep track of write_ptr on receiver
Add max_bytes receive test test_ringbuf_max_bytes
Add docstrings to all ringbuf tests
Remove EFD_NONBLOCK support, not necesary anymore since we can use abandon_on_cancel=True on trio.to_thread.run_sync
Close eventfd's after usage on open_ringbuf
2025-03-27 19:14:21 -03:00
..
__init__.py Break out transport protocol and tcp specifics into their own submodules under tractor.ipc 2025-03-27 19:14:21 -03:00
_chan.py Break out transport protocol and tcp specifics into their own submodules under tractor.ipc 2025-03-27 19:14:21 -03:00
_linux.py Handle cancelation on EventFD.read 2025-03-27 19:14:20 -03:00
_mp_bs.py Add buf_size to RBToken and add sender cancel test, move disable_mantracker to its own _mp_bs module 2025-03-27 19:14:21 -03:00
_ringbuf.py Better encapsulate RingBuff ctx managment methods and support non ipc usage 2025-03-27 19:14:21 -03:00
_shm.py Add buf_size to RBToken and add sender cancel test, move disable_mantracker to its own _mp_bs module 2025-03-27 19:14:21 -03:00
_tcp.py Break out transport protocol and tcp specifics into their own submodules under tractor.ipc 2025-03-27 19:14:21 -03:00
_transport.py Break out transport protocol and tcp specifics into their own submodules under tractor.ipc 2025-03-27 19:14:21 -03:00