each one for each thread fixed: on Linux: pthread mutexes by default behaves differently than on FreeBSD we have to set PTHREAD_MUTEX_ERRORCHECK attribute when creating a mutex git-svn-id: svn://ttmath.org/publicrep/winix/trunk@953 e52654a7-88a9-db11-a3e9-0013d4bc506e