Commit Graph

6 Commits (de45ad88293c9104637b0c1b6a4d256d415c3177)

Author SHA1 Message Date
Guillermo Rodriguez de45ad8829
Add buf_size to RBToken and add sender cancel test, move disable_mantracker to its own _mp_bs module 2025-03-22 16:39:01 -03:00
Guillermo Rodriguez 8adde29e39
Make ring buf api use pickle-able RBToken 2025-03-22 16:39:01 -03:00
Guillermo Rodriguez f552a3f8f5
Handle cancelation on EventFD.read 2025-03-22 16:39:01 -03:00
Guillermo Rodriguez a85c26017e
Move linux specifics from tractor.ipc._shm into tractor.ipc._linux 2025-03-22 16:39:00 -03:00
Guillermo Rodriguez ff1f4fa805
Move tractor._shm to tractor.ipc._shm 2025-03-22 16:39:00 -03:00
Guillermo Rodriguez 66c1d09ad4
General improvements
EventFD class now expects the fd to already be init with open_eventfd
RingBuff Sender and Receiver fully manage SharedMemory and EventFD lifecycles, no aditional ctx mngrs needed
Separate ring buf tests into its own test bed
Add parametrization to test and cancellation
Add docstrings
Add simple testing data gen module .samples
2025-03-22 16:39:00 -03:00