ScopedLocker.cpp

code format="cpp"
 * 1) include "linuxwrap.h"

ScopedLocker::ScopedLocker(Mutex& m) : mutex(m)

{

mutex.wait;

}

ScopedLocker::~ScopedLocker

{

mutex.signal;

}

code