Commit Graph

4 Commits (fc7a8a5441eb0cbbe55381a15e02fc5aadbe4377)

Author SHA1 Message Date
Guillermo Rodriguez fc7a8a5441
Handle cancelation on EventFD.read 2025-03-27 19:14:20 -03:00
Guillermo Rodriguez ef9b30639f
Move linux specifics from tractor.ipc._shm into tractor.ipc._linux 2025-03-27 19:14:20 -03:00
Guillermo Rodriguez 8e294b8b7c
Move tractor._shm to tractor.ipc._shm 2025-03-27 19:14:20 -03:00
Guillermo Rodriguez ecf84991a4
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-27 19:14:20 -03:00