~Synchronization(){pthread_spin_unlock(m_monitor->get());}
Synchronization(Monitor* m):m_monitor(m){pthread_spin_lock(m_monitor->get());}