Commit Graph

5 Commits (dd17aa4205db7ce31a229be3de1310330760d6a0)

Author SHA1 Message Date
Guillermo Rodriguez dd17aa4205
Make ring buf api use pickle-able RBToken 2025-03-13 23:41:53 -03:00
Guillermo Rodriguez b6bc57c4e0
Handle cancelation on EventFD.read 2025-03-13 22:43:02 -03:00
Guillermo Rodriguez 8cd1bf377a
Move linux specifics from tractor.ipc._shm into tractor.ipc._linux 2025-03-13 21:10:23 -03:00
Guillermo Rodriguez 41e84cc701
Move tractor._shm to tractor.ipc._shm 2025-03-13 21:02:16 -03:00
Guillermo Rodriguez c5ae3a767e
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-13 21:02:14 -03:00