robotology / robometry

Telemetry suite for logging data from your robot 🤖
https://robotology.github.io/robometry
Other
14 stars 9 forks source link

BufferManager: fix multithreading push_back #105

Closed Nicogene closed 3 years ago

Nicogene commented 3 years ago

It introduces the BufferInfo struct that holds the Buffer, the dimensions, and the mutex of the respective buffer. The push_back now lock the mutex of the buffer we are writing to it, keeping the others free.

It fixes #9

cc @S-Dafarra