Enabled lwm_linux.hpp in lightweight_mutex.hpp.

[SVN r12834]
This commit is contained in:
Peter Dimov committed 2002-02-16 15:00:55 +00:00
1 parent 6e6a2a013a
commit 76c19e6111
2 files changed
+4 -3

No files matched your search

+2 -1
View File
@@ -17,6 +17,7 @@
//
#include <asm/atomic.h>
#include <sched.h>
namespace boost
{
@@ -60,7 +61,7 @@ public:
while( !atomic_dec_and_test(&m_.a_) )
{
atomic_inc(&m_.a_);
// sched_yield();
sched_yield();
}
}