I’m actual trying to port stuff to QNX4 and I’m sticking at pthreads.
The compilation with the pthread-1.0b4.tgz form ftp://ftp.qnx.com.
But the program crashes and using the debugger I see that it crashes in “getenv” called from “socket”.
The “socket” function is threadsafe due to the watcom online help but
the “getenv” isn’t.
Can it be true that QNX calls their own functions like “socket” threadsafe without checking the functionality?
How can a function be thread safe if it uses calls unsafe functions?