Commit Graph

7 Commits (41e84cc701cb3d0ee72c514b7bf9b855cb887039)

Author SHA1 Message Date
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
Guillermo Rodriguez bf416ea26f
IPC ring bug impl with async read 2025-03-12 16:13:40 -03:00
Tyler Goodlet 4f442efbd7 Pass `str` dtype for `use_str` case 2023-06-15 12:20:20 -04:00
Tyler Goodlet a9fc4c1b91 Parametrize rw test with variable frame sizes
Demonstrates fixed size frame-oriented reads by the child where the
parent only transmits a "read" stream msg on "frame fill events" such
that the child incrementally reads the shm list data (much like in
a real-time-buffered streaming system).
2023-06-15 12:20:20 -04:00
Tyler Goodlet 339d787cf8 Add repetitive attach to existing segment test 2023-06-15 12:20:20 -04:00
Tyler Goodlet c32b21b4b1 Add initial readers-writer shm list tests 2023-06-15 12:20:20 -04:00