Changeset 0319a8f6 in mainline for libc/generic/futex.c


Ignore:
Timestamp:
2006-04-05T12:10:53Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a7818c26
Parents:
8fe1cdb
Message:

Sync uspace.
Fix comment in futex.c.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/futex.c

    r8fe1cdb r0319a8f6  
    3939 * counter and the futex wait queue, there is a race condition:
    4040 *
    41  * wq->missed_wakeups == 1 && futex->count = 1
     41 * (wq->missed_wakeups == 1) && (futex->count = 1)
    4242 *
    4343 * Scenario 1 (wait queue timeout vs. futex_up()):
     
    155155 * @param futex Futex.
    156156 *
    157  * @return ENOENT if there is no such virtual address or futex. Otherwise zero.
     157 * @return ENOENT if there is no such virtual address. Otherwise zero.
    158158 */
    159159int futex_up(atomic_t *futex)
Note: See TracChangeset for help on using the changeset viewer.