> while (1)
> scanf ("%u", &tmp);
Here you give your computer and infinite amount of work to do.
> /* UNREACHABLE */
And here you wait until it's done.
Of course, a computer can never complete an infinite amount of work.
What was your question?
DS
______________________________________________________________________
GNU Portable Threads (Pth) http://www.gnu.org/software/pth/
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager (Majordomo) [EMAIL PROTECTED]
- launch a thread from a function mglcel
- David Schwartz
