| |
| | [No title] |
 | | The GNU version of threads, referred to here as "pth", differs from POSIX threads, or "pthreads", in that pth is nonpreemptive; once a thread acquires the CPU, it will hold the CPU until voluntarily relinquishing it, either by calling a wait function such as pth_cond_await(), or by calling pth_yield(). |
 | | There are various other thread packages which are nonpreemptive, but pth is the one which is most portable across Unix platforms. |
 | | Pth uses actions such as setjmp() and longjump() for its main implementation device. |
| heather.cs.ucdavis.edu /~matloff/pth.html (796 words) |
|