first pthreads test, appears to be working