Basic posix threads and processes