|
From: | Tom Lutz |
Subject: | Re: [Discuss-gnuradio] Thread Synchronization |
Date: | Wed, 13 May 2009 15:33:41 -0400 |
Please use the boost mutexs:
#include <boost/thread.hpp>
boost::mutex m; // the mutex
boost::mutex::scoped_lock guard(m) // the scoped guard
Eric
[Prev in Thread] | Current Thread | [Next in Thread] |