export UsingNPTL

This commit is contained in:
Glenn Maynard
2004-05-27 04:56:09 +00:00
parent b1b33f7db0
commit dbef3cc14f
2 changed files with 4 additions and 1 deletions
@@ -46,7 +46,7 @@ CString ThreadsVersion()
}
/* Crash-conditions-safe: */
static bool UsingNPTL()
bool UsingNPTL()
{
char buf[1024] = "";
int ret = confstr( _CS_GNU_LIBPTHREAD_VERSION, buf, sizeof(buf) );
@@ -6,6 +6,9 @@ CString ThreadsVersion();
/* Get the current thread's ThreadID. */
int GetCurrentThreadId();
/* Return true if NPTL libraries are in use, false if linuxthreads. */
bool UsingNPTL();
int SuspendThread( int ThreadID );
int ResumeThread( int ThreadID );