RE: pthreads ??

1999-09-20 Thread Isaac Richards
On 20-Sep-99 [EMAIL PROTECTED] wrote: > I agree with you, but it even gets worse than that. Let me elaborate. > The signal handling under LinuxThreads is different from the signal > handling under POSIX threads for one. And, as far as I can tell, the > signal handling is cooperative, and the curr

RE: pthreads ??

1999-09-20 Thread robert
Jim Carlson sez: >> 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 do

Re: pthreads ??

1999-09-20 Thread carlson
> 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/

Re: pthreads ??

1999-09-20 Thread Mark B. Elrod
that is how i think it should work... and it is how i need it to work for my download stuff to work correctly. elrod Isaac Richards wrote: > >From what I can tell, nope. Shouldn't be more than 5 minutes work to add it, > if that's how you want them to behave.. > > Isaac > > On 20-Sep-99 Mark B

RE: pthreads ??

1999-09-20 Thread Isaac Richards
>From what I can tell, nope. Shouldn't be more than 5 minutes work to add it, if that's how you want them to behave.. Isaac On 20-Sep-99 Mark B. Elrod wrote: > Are calls to suspend and resume ref counted? iow, if i do this in > pseudo-code: > > thread->suspend(); > thread->suspend(); > > thre