Simple thread creation using POSIX thread