Sha256: ea3aa25a0971d4d3ab7cfff8ed2b81a8541461d3bfdd4116e55703f373d44294
Contents?: true
Size: 912 Bytes
Versions: 4
Compression:
Stored size: 912 Bytes
Contents
// ------------------------------------------------------------------------------------------------ #include <windows.h> #include <IIEP_Def.H> // ------------------------------------------------------------------------------------------------ // name: Lock() // desc: // ------------------------------------------------------------------------------------------------ void IIEP::CMutex::Lock(void) { while (m_bLocked) { ::Sleep(1); } m_bLocked = true; } // ------------------------------------------------------------------------------------------------ // name: Wait() // desc: // ------------------------------------------------------------------------------------------------ void IIEP::CMutex::Wait(void) { while (m_bLocked) { ::Sleep(1); } } // ------------------------------------------------------------------------------------------------
Version data entries
4 entries across 4 versions & 1 rubygems