summaryrefslogtreecommitdiffstats
path: root/lib/libc/include/spinlock.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove #include of spinlock.h from libc_private.h. Declare spinlocks asdeischen2003-11-051-2/+3
| | | | | | | struct _spinlock. Keep the typedef in for now; another set of changes may come around to clean up consumers of spinlocks. Requested by: bde
* - Define a _spinunlock() function so that threading implementations may dojeff2003-03-261-1/+2
| | | | | | 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.
* Remove __P() usage.obrien2002-03-211-3/+3
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Implement compile time debug support for spinlocks.jb1998-06-091-5/+24
| | | | | | Simplify the atomic lock prototype, removing the lock value. Delete the unlock prototypes that are not required.
* In a threaded library, expect the lock field to be declared volatile,jb1998-05-051-5/+5
| | | | | so provide function prototypes that respect that, avoiding a gcc warning that `volatile' is being thrown away.
* Add a private (to libc, libc_r and libpthread) header file containingjb1998-03-091-0/+52
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.
OpenPOWER on IntegriCloud