site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com -- mach/ppc/thread_act.h -- ... /* Routine thread_suspend */ #ifdef mig_external mig_external #else extern #endif /* mig_external */ kern_return_t thread_suspend ( thread_act_t target_act ); /* Routine thread_resume */ #ifdef mig_external mig_external #else extern #endif /* mig_external */ kern_return_t thread_resume ( thread_act_t target_act ); ... - Steve _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Jan 20, 2005, at 2:58 PM, Nat! wrote: Well the replies I got privately say, that you can't do that in Darwin. You can probably get the lists of threads, but the suspension of a related thread in the same process is not supported. That wraps up this mail thread. I don't claim to be any sort of expert on this but I don't think you can suspend/resume threads using pthreads but I see no reason why you couldn't do it via mach threads. Like I said, I'm no expert and perhaps there is a reason to not use the mach thread api (such as there might not be a one to one correspondence between mach threads and pthreads and that might be necessary for your purposes). This email sent to site_archiver@lists.apple.com