History log of /freebsd-10-stable/lib/libc/include/spinlock.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 165968 12-Jan-2007 imp

Remove 3rd clause, renumber, ok per email


# 122129 05-Nov-2003 deischen

Remove #include of spinlock.h from libc_private.h. Declare spinlocks as
struct _spinlock. Keep the typedef in for now; another set of changes
may come around to clean up consumers of spinlocks.

Requested by: bde


# 112665 26-Mar-2003 jeff

- Define a _spinunlock() function so that threading implementations may do
more complicated things than just setting the lock to 0.
- Implement stubs for this function in libc and the two threading libraries
that are currently in the tree.


# 92905 21-Mar-2002 obrien

Remove __P() usage.


# 50476 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 36803 09-Jun-1998 jb

Implement compile time debug support for spinlocks.

Simplify the atomic lock prototype, removing the lock value.

Delete the unlock prototypes that are not required.


# 35753 05-May-1998 jb

In a threaded library, expect the lock field to be declared volatile,
so provide function prototypes that respect that, avoiding a gcc
warning that `volatile' is being thrown away.


# 34365 09-Mar-1998 jb

Add a private (to libc, libc_r and libpthread) header file containing
prototypes for the spinlock functions that will be used for thread locks.
libc will have stubs declared with weak symbols. libpthread and libc_r
will have functions that really do something.