mirror of https://github.com/commaai/cereal.git
4e063ca166
* Implementation of FakeSubSocket and FakePubSocket using eventfd with support for one-in/one-out synchronization * Expose FakeEvent to Python * Add demo showcasing synchronization between processes * Fix linter errors * Expose more FakeEvent APIs in Python bindings * Add FakePoller implementation * Remove suffix from poll env vars * Set poller timeout to zero when events are enabled * Replace poll with ppoll. Add invalidation methods * Fix lint issues * Fix comment indent * Remove fake_demo * Remove FakePubSocket. Simpler FakePoller implementation. Ability to wait for multiple events * Rename FakeEvent to Event and move it to event.cc * Rename event purpose constants in py * Add support for timeout in wait methods * Add tests for events and fake sockets * Fix lint errors * Add zmq sleeps * Temporarly disable TestFakeSockets on ZMQ * Add exception type specifiers to test_fake * Event Manager implementation * Fix fake sockets tests * Update EventManager API * Add test for enable/disable * Add tests for cereal prefix * Remove EventPurpose from python bindings * Fix lint issues * event_state_shm_mmap implementation shared by EventManager and FakeSubSocket * Rename EventManager to SocketEventHandle * More renames |
||
---|---|---|
.. | ||
tests | ||
.gitignore | ||
__init__.py | ||
bridge.cc | ||
demo.cc | ||
demo.py | ||
event.cc | ||
event.h | ||
impl_fake.cc | ||
impl_fake.h | ||
impl_msgq.cc | ||
impl_msgq.h | ||
impl_zmq.cc | ||
impl_zmq.h | ||
messaging.cc | ||
messaging.h | ||
messaging.pxd | ||
messaging_pyx.pyx | ||
msgq.cc | ||
msgq.h | ||
msgq.md | ||
msgq_tests.cc | ||
socketmaster.cc | ||
stress.py | ||
test_runner.cc |