diff options
author | jb <jb@FreeBSD.org> | 1998-04-11 07:02:58 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-04-11 07:02:58 +0000 |
commit | 4c358b50ecd1504c9834001ecd5ea5046a375942 (patch) | |
tree | 91460af532b9b09d0aa7edaae8e9a743ea103cbd /lib/libc/stdio/fputs.c | |
parent | 475fa537796c6bc7939de4fc4bd1ce3a0be7aee6 (diff) | |
download | FreeBSD-src-4c358b50ecd1504c9834001ecd5ea5046a375942.zip FreeBSD-src-4c358b50ecd1504c9834001ecd5ea5046a375942.tar.gz |
Add a global variable called __isthreaded that can be tested throughout
libc to determine if locking is required. This is needed in libc
for use with kernel threads, but until a thread is created, we don't
really want to bother locking things. The variable was added here
because the crt code calls exit(main()) so all programs will get the
variable.
Diffstat (limited to 'lib/libc/stdio/fputs.c')
0 files changed, 0 insertions, 0 deletions