What about fork? That's the way you do it in C. You call fork() and look at the return value - the parent gets one value, and the child gets another. Both run at the same time. I think a "while (true) fork()" would do the trick for you... Tim