This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: thread suspend/resume


On Sat, 2005-03-26 at 21:48 -0800, Robin Rowe wrote: 
> Is there a mechanism in Pthreads for Windows to enable suspend/resume on 
> threads similar to Windows threads?

[I would have responded earlier only I've been out of town.]

Assuming you don't mean 'create suspended' - the underlying Win32 thread
handle can be returned via:-

HANDLE pthread_getw32threadhandle_np(pthread_t thread)

        Returns the win32 thread handle that the POSIX
        thread "thread" is running as.

        Applications can use the win32 handle to set
        win32 specific attributes of the thread.

(From README.NONPORTABLE)

Regards.
Ross



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]