> There are a few problems with the posted code. well, do you happen to know a good tutorial on pthreads then? I found this example on some webpage.. /christian