Subj : Re: Windows Suspend/ResumeThread API equivalent for Linux or POSIX? To : comp.programming.threads From : David Schwartz Date : Thu May 12 2005 04:37 am "Chris Thomasson" <_no_damn_spam_cristom@_no_damn_comcast.net_spam> wrote in message news:K9udnfCOipwPbB_fRVn-2g@comcast.com... >>> If you can't guarantee this with 100% certainty, then using >>> SuspendThread is like playing with a lit stick of dynamite. >> You never can. You never know when a libarary might commandeer your >> thread and go near a sync object. > I have total control over the research application. It has never had any > problems with some other library hijacking its threads. In fact, what > exactly are you getting at here? I'm saying that had the POSIX committee included an API to suspend a thread, they would have to add significant restrictions on what any implementation could do. POSIX only does this when the benefits are significant. Here, the benefits are very, very questionable. DS .