Posix Multithreaded fundamentals