Fn77 - use -2 return value for EWOULDBLOCK.

git-svn-id: svn://kolibrios.org@6089 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2016-01-23 02:36:00 +00:00
parent 3f61ba72bb
commit 419012b345
2 changed files with 11 additions and 9 deletions

View File

@@ -4794,8 +4794,9 @@ Parameters:
* edx = control value
* esi = timeout in system ticks or 0 for infinity
Returned value:
* eax = 0 - successfull, -1 on timeout
* eax = 0 - successfull
-1 - timeout
-2 - futex dword does not have the same value as edx
Remarks:
* This functionn tests that the value at the futex dword still
contains the expected control value, and if so, then sleeps