regressions: Fix for common alarm prefixes.

ck_pring
David Joseph 12 years ago
parent da23134615
commit aaebc6b31b

@ -171,12 +171,12 @@ prefix##_common_win_alarm(void *unused) \
bool timer_success = false; \
for (;;) { \
WaitForSingleObjectEx(alarm_event_name, INFINITE, true); \
timer_success = SetWaitableTimer(common_win_alarm_timer, \
&common_alarm_timer_length, \
timer_success = SetWaitableTimer(prefix##_common_win_alarm_timer, \
&prefix##_common_alarm_timer_length, \
0, \
common_win_alarm_handler, NULL, false); \
prefix##_common_win_alarm_handler, NULL, false); \
assert(timer_success != false); \
WaitForSingleObjectEx(common_win_alarm_timer, INFINITE, true); \
WaitForSingleObjectEx(prefix##_common_win_alarm_timer, INFINITE, true); \
} \
\
return NULL; \

Loading…
Cancel
Save