Bitmap allocator documentation.
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Fri Mar 12 12:46:00 GMT 2004
> So, can I do something like this:
> bool Is_Threads_Enabled = __gthread_active_p();
Practically, yes. The return of __gthread_active_p() is not suppose
to ever change because once you commit to avoiding mutex locking, you
can't easily go back. BTW, yes, I think the implementation assumes
that people aren't playing dlopen tricks to get the thread library...
Loren
More information about the Libstdc++
mailing list