diff options
author | jb <jb@FreeBSD.org> | 1998-04-11 07:33:46 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-04-11 07:33:46 +0000 |
commit | 37905ca3346db0b12db77b4f125b8e230f82c22e (patch) | |
tree | 37fc8cff19635a617fe503282671b8c9cf4dff5c /lib/libc/stdio/rewind.c | |
parent | 1f2643f52063cd57942ba1831d284a46512f6233 (diff) | |
download | FreeBSD-src-37905ca3346db0b12db77b4f125b8e230f82c22e.zip FreeBSD-src-37905ca3346db0b12db77b4f125b8e230f82c22e.tar.gz |
Add *_unlocked() macros according to POSIX. In the _THREAD_SAFE case,
test for __isthreaded before calling the lock/unlock functions to
try to save some performance. The _THREAD_SAFE case should become the
default, but since it tests for a global variable in libc, people won't
be able to build -current on pre-3.0 systems unless the default leaves
it out. Such is life.
Diffstat (limited to 'lib/libc/stdio/rewind.c')
0 files changed, 0 insertions, 0 deletions