Commit Graph

7 Commits

Author SHA1 Message Date
Alexander Litzenberger
32024acdc0 Switch send to using bytes. (#93) 2020-10-06 17:15:01 -07:00
Willem Melching
42e66ba92e use bytes in messaging tests 2020-10-05 11:28:26 +02:00
Willem Melching
3b753be905 Implement error handling and exceptions (#18)
* implement error handling and exceptions

* Add test for MultiplePublisherError

* add some more tests
2019-12-04 23:05:20 +01:00
Willem Melching
1ba646773e fix linter 2019-12-03 07:56:57 -08:00
George Hotz
347a86615c Switch from polling on FIFOs to signal (#12)
* uids are pids

* remove fifo, go for signal

* that's more what i'm saying

* oops, that's wrong

* add some todos

* make signal poll work

* bring randomness back

* fix case in msgq when subs get evicted while polling

* check for ready messages before poll starts

* No pr builds

* use nanosleep with remainder

* this should pass the test
2019-11-22 12:06:26 -08:00
Willem Melching
f6a8e394a2 add test with multiple subscribers 2019-11-21 13:14:31 -08:00
Willem Melching
66be37087a run python unittest in ci 2019-11-20 17:31:33 -08:00