I am trying to convert an app from Win32 to Linux. In so doing I need to emulate the behavior of Win32 threads which allow you to suspend a thread, and resume a thread (these threads can be threads other than the current one).
Example in Win32:
void suspend_this_thread(HANDLE aHandle)
void resume_this_thread(HANDLE aHandle)