# | Line 219 | Line 219 | static HANDLE idle_lock = NULL; | |
---|---|---|
219 | ||
220 | idle_sentinel::idle_sentinel() | |
221 | { | |
222 | – | LOCK_IDLE; |
222 | idle_sem_ok = 1; | |
223 | if ((idle_sem = CreateSemaphore(0, 0, 1, NULL)) == NULL) | |
224 | idle_sem_ok = 0; | |
225 | if ((idle_lock = CreateMutex(NULL, FALSE, NULL)) == NULL) | |
226 | idle_sem_ok = 0; | |
228 | – | UNLOCK_IDLE; |
227 | } | |
228 | ||
229 | idle_sentinel::~idle_sentinel() |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |