I'm using scoped_lock
and mutex
to implement a version of a BlockingQueue posted in a different SO question, but there are multiple different precompiled headers for both of them in boost.
scoped_lock
is available through "boost/interprocessor/sync/scoped_lock.hpp" and "boost/thread/mutex.hpp"
mutex
is available through "boost/thread/mutex.hpp", "boost/signals2/mutex.hpp" and "boost/thread/win32/mutex.hpp"
I can guess that the "win32/mutex.hpp" is somehow optimized for windows, but what about the others? What's the difference between them?