John Birrell 3411c10600 Add support for compile time debug. This is enabled if libc_r is built
with -D_LOCK_DEBUG. This adds the file name and line number to each lock
call and these are stored in the spinlock structure. When using debug
mode, the lock function will check if the thread is trying to lock
something it has already locked. This is not supposed to happen because
the lock will be freed too early.

Without lock debug, libc_r should be smaller and slightly faster.
1998-06-09 23:13:10 +00:00
..
1997-02-05 23:26:09 +00:00
1997-02-05 23:26:09 +00:00
1997-02-05 23:26:09 +00:00
1996-01-22 00:23:58 +00:00
1996-01-22 00:23:58 +00:00
1996-01-22 00:23:58 +00:00
1998-06-06 07:02:27 +00:00