HomeFreeBSD

Move futex support code from <arch>/support.s into linux compat directory.
rS169895Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Move futex support code from <arch>/support.s into linux compat directory.
Implement all futex atomic operations in assembler to not depend on the
fuword() that does not allow to distinguish between -1 and failure return.
Correctly return 0 from atomic operations on success.

In collaboration with: rdivacky
Tested by: Scot Hetzel <swhetzel gmail com>, Milos Vyletel <mvyletel mzm cz>
Sponsored by: Google SoC 2007

Details

Provenance
kibAuthored on
Parents
rS169894: If (flags & O_TRUNC), don't truncate the file until we've successfully
Branches
Unknown
Tags
Unknown

Event Timeline