sccn / liblsl

C++ lsl library for multi-modal time-synched data transmission over the local network
Other
108 stars 63 forks source link

Use std::thread instead of Boost.Thread #72

Closed tstenner closed 4 years ago

tstenner commented 4 years ago

Since C++11, the STL has it's own threading implementation that's covering all our use cases; the only thing missing is a shared mutex implementation.

The change is mostly straightforward except for the io context cancellation in the first commit, but it improves compilation times by ~4% and reduces peak memory usage by ~17%.