The source project of this merge request has been removed.
Improve ReusableThread implementation
Major changes: #3 (closed) has been resolved; and ReusableThread::set_work()
now has the same interface as std::thread
(alt.: any arguments that in a std::bind
would yield a void()
will work; see 40a625a2 for an updated example usage in FileDataLoggerModule
).
Note: this commit depends on !24 (merged).