A small tutorial on the basics of POSIX Threads