forked from KolibriOS/kolibrios
wait_event_timeout: return 0 for timeout
git-svn-id: svn://kolibrios.org@3396 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2bf2a6cd80
commit
b5556d9137
@ -319,7 +319,9 @@ wait_event_timeout:
|
|||||||
mov ecx, eax ; wait_param
|
mov ecx, eax ; wait_param
|
||||||
mov edx, get_event_alone ; wait_test
|
mov edx, get_event_alone ; wait_test
|
||||||
call Wait_events_ex
|
call Wait_events_ex
|
||||||
jmp wait_finish
|
test eax, eax
|
||||||
|
jnz wait_finish
|
||||||
|
ret
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
align 4
|
align 4
|
||||||
get_event_ex: ;; f68:14
|
get_event_ex: ;; f68:14
|
||||||
|
Loading…
Reference in New Issue
Block a user