thinking about pthreads but not getting very far