Subj : Re: Windows Suspend/ResumeThread API equivalent for Linux or POSIX? To : comp.programming.threads From : Chris Thomasson Date : Wed May 11 2005 12:09 am > Why do you think you need to suspend a thread? In order to call the Windows GetThreadContext Thread API, you need to use the Resume/SuspendThread API. I am reading thread context and comparing against deferred pointers in a modified SMR polling algorithm; You can eliminate the hazard pointer reload and compare by doing this. I was wondering if Linux and/or POSIX has a way to get thread context and if it was similar to the way windows does it. Something like: pthread_suspend_np( pthread_t, ucontext_t* ); pthread_resume_np( pthread_t ); .