Re: cvs commit: src/include dirent.h stdio.h src/lib/libc Makefi
: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@backplane.com>
討論串 (同標題文章)
完整討論串 (本文為第 5 之 10 篇):