POSIX thread game