cvs commit: src/include dirent.h stdio.h src/lib/libc Makefile Makefile.inc src/lib/libc/compat-43 creat.c sigcompat.c src/lib/libc/db/btree bt_close.c bt_open.c src/lib/libc/db/hash hash.c hash_page.c src/lib/libc/db/mpool mpool.c ...
Matthew Dillon
dillon at apollo.backplane.com
Mon Jan 31 15:14:46 PST 2005
:Actually, I don't like the export of __isthreaded as part of libc ABI
:at all. The locked functions should be normal calls, the compiler can
:inline in the libc if it feels so. This might actually be faster too.
:
:Joerg
What, you mean THREAD_LOCK() and friends? Those should probably be
consolidated.
I don't see that we have a choice re: __isthreaded. The variable could
be renamed I suppose but there needs to be some sort of variable that is
part of the libc ABI that libc can check. The variable can't be exported
by the threads library because there might not be a threads library linked
in.
-Matt
Matthew Dillon
<dillon at xxxxxxxxxxxxx>
More information about the Commits
mailing list