Jonathan Wakely 2014-09-30 13:22:
I mean exactly what I wrote.
__gthread_mutex_lock is a one-line function that forwards to
pthread_mutex_lock. Using GNU libc if you don't link to libpthread.so
then pthread_mutex_lock is a no-op function that does nothing. It is
quicker to just call it than to spend time checking if threads are
active.
Ok, but what about '__gthread_mutex_init_function()'?
[1]
https://gcc.gnu.org/viewcvs/gcc/trunk/libgcc/gthr-posix.h?view=markup#l729
--
Regards, niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingw-w64/
___________________________________________________
Another online IDE: http://liveworkspace.org/