Mutex.cpp

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

Mutex::Mutex {	pthread_mutex_init(&id, NULL); }

Mutex::~Mutex {	pthread_mutex_destroy(&id); }

void Mutex::signal {	pthread_mutex_unlock (&id); }

void Mutex::wait {	pthread_mutex_lock (&id); }

code