Changes in kernel/generic/src/synch/futex.c [897fd8f1:82cbf8c6] in mainline
- File:
- 
      - 1 edited
 
 - 
          
  kernel/generic/src/synch/futex.c (modified) (3 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      kernel/generic/src/synch/futex.cr897fd8f1 r82cbf8c6 395 395 * 396 396 * @return If there is no physical mapping for uaddr ENOENT is 397 * returned. Otherwise returns the return value of398 * waitq_sleep_timeout().397 * returned. Otherwise returns a wait result as defined in 398 * synch.h. 399 399 */ 400 400 sysarg_t sys_futex_sleep(uintptr_t uaddr) … … 409 409 #endif 410 410 411 int rc = waitq_sleep_timeout( 412 &futex->wq, 0, SYNCH_FLAGS_INTERRUPTIBLE, NULL); 411 int rc = waitq_sleep_timeout(&futex->wq, 0, SYNCH_FLAGS_INTERRUPTIBLE); 413 412 414 413 #ifdef CONFIG_UDEBUG … … 431 430 if (futex) { 432 431 waitq_wakeup(&futex->wq, WAKEUP_FIRST); 433 return EOK;432 return 0; 434 433 } else { 435 434 return (sysarg_t) ENOENT; 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
