Experimenting with PThreads