Home | Info | Community | Development | myReactOS | Contact Us
[static, read]
Definition at line 365 of file timerqueue.c.
Referenced by RtlCreateTimer().
{ if (TimerQueue) return TimerQueue; else { if (!default_timer_queue) { HANDLE q; NTSTATUS status = RtlCreateTimerQueue(&q); if (status == STATUS_SUCCESS) { PVOID p = InterlockedCompareExchangePointer( (void **) &default_timer_queue, q, NULL); if (p) /* Got beat to the punch. */ RtlDeleteTimerQueueEx(p, NULL); } } return default_timer_queue; } }