machines-in-motion / shared_memory

realtime interprocess communication
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

refactor of thread synchronization #3

Closed vincentberenz closed 4 years ago

vincentberenz commented 4 years ago

Refactor of thread synchronization

renaming of ConditionVariable

ConditionVariable as previous implementation was renammed LockedConditionVariable (indicate the locking is happening internally)

reorganization of includes

thread_synchronization.hpp removed, .hpp used instead

new classes

ConditionVariable, Mutex and Lock were added. Follows the API of std condition variable

unit tests

Corresponding unit tests added

demos

Corresponding demos added

python wrappers

Corresponding python wrappers, and python demo, added

sending a mail

We should send a mail when merged, because of change in API