freebsd-skq/lib/libc_r
marcel 448c522a41 Implement the lock with a cmpxchg instruction instead of a xchg.
Both are atomic, but the cmpxchg has memory ordering hints. We
give this acquire semantics.

NOTE: The unlock in libc_r is implemented by a "normal" assign
statement. This is not correct on ia64 due to the memory ordering
characteristics of the architecture. We need release semantics
for an unlock.
2002-11-16 17:05:06 +00:00
..
arch Implement the lock with a cmpxchg instruction instead of a xchg. 2002-11-16 17:05:06 +00:00
man Add & hookup manpage for pthread_attr_get_np(3). 2002-10-26 15:04:29 +00:00
sys $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
test Fix a couple of minor nits that prevented this from compiling. 2002-07-02 01:26:16 +00:00
uthread When about to do an execve(), don't reset the O_NONBLOCK flag on any file 2002-11-15 00:34:28 +00:00
Makefile Zap now-unused SHLIB_MINOR 2002-09-28 00:25:32 +00:00