mutex that unlocks the mutex when the SGGuard object goes out of scope. The SGxxxQueue<T> template family factor out the common behaviour we need for passing data between threads.
mutex that unlocks the mutex when the SGGuard object goes out of scope. The SGxxxQueue<T> template family factor out the common behaviour we need for passing data between threads.