Lines Matching defs:sem
45 Semaphore* sem = OS::CreateSemaphore(0);48 ok = sem->Wait(0);50 ok = sem->Wait(100);52 ok = sem->Wait(1000);56 sem->Signal();57 ok = sem->Wait(0);58 sem->Signal();59 ok = sem->Wait(100);60 sem->Signal();61 ok = sem->Wait(1000);63 delete sem;