On Sat, 25 Mar 100, Alex Korobka wrote:

> 
> This topic already came up before the decision to use clone(). Pthreads API lacks 
>several functions 
> necessary to implement certain Windows thread API.
> 
> ThreadSuspend()
> ThreadResume()
> SetThreadContext()
> 
> Suspend/resume functionality can be simulated with signals (SunOS thread API does 
>just that), but
> I'm not sure about SetThreadContext().
> 
> Alex

You can use ptrace, if the pthread implementation is 1-1 user-kernel. (If
not, then none of this is going to work anyway.)

Andrew Lewycky
[EMAIL PROTECTED]


Reply via email to