Subversion Repositories Kolibri OS

Rev

Rev 6079 | Rev 6168 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6079 Rev 6089
Line 4792... Line 4792...
4792
  * ebx = 2 - subfunction number
4792
  * ebx = 2 - subfunction number
4793
  * ecx = futex handle
4793
  * ecx = futex handle
4794
  * edx = control value
4794
  * edx = control value
4795
  * esi = timeout in system ticks or 0 for infinity
4795
  * esi = timeout in system ticks or 0 for infinity
4796
Returned value:
4796
Returned value:
4797
  * eax = 0 - successfull, -1 on timeout
4797
  * eax = 0 - successfull
4798
 
4798
	 -1 - timeout
-
 
4799
	 -2 - futex dword does not have the same value as edx
4799
Remarks:
4800
Remarks:
4800
  * This functionn tests that the value at the futex dword still
4801
  * This functionn tests that the value at the futex dword still
4801
    contains the expected control value, and if so, then sleeps
4802
    contains the expected control value, and if so, then sleeps
4802
    waiting for a wake operation on the futex.
4803
    waiting for a wake operation on the futex.
4803
  * The futex handle must have been created by subfunction 0
4804
  * The futex handle must have been created by subfunction 0