> Are calls to suspend and resume ref counted? iow, if i do this in
> pseudo-code:

No.  It just does a SIGSTOP and SIGCONT for suspend and resume.  The
first resume after N>=1 suspends will cause the task to restart.

> is that the way it works for pthreads?

Pthreads doesn't really have suspend/resume.  Just SIGSTOP and
SIGCONT.

-- 
James Carlson, Software Architect                   <[EMAIL PROTECTED]>
IronBridge Networks / 55 Hayden Avenue   71.246W   Vox:  +1 781 372 8132
Lexington MA  02421-7996 / USA           42.423N   Fax:  +1 781 372 8090
"PPP Design and Debugging" --- http://people.ne.mediaone.net/carlson/ppp

Reply via email to