From: Ross Johnson <rpj@callisto.canberra.edu.au>
To: Robin Rowe <rower@MovieEditor.com>
Cc: Pthreads-Win32 list <pthreads-win32@sources.redhat.com>
Subject: Re: thread suspend/resume
Date: Wed, 30 Mar 2005 13:44:00 -0000 [thread overview]
Message-ID: <1112190244.5905.4.camel@desk.home> (raw)
In-Reply-To: <107301c53290$91679010$0400a8c0@cary>
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
prev parent reply other threads:[~2005-03-30 13:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-27 5:48 Robin Rowe
2005-03-30 13:44 ` Ross Johnson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1112190244.5905.4.camel@desk.home \
--to=rpj@callisto.canberra.edu.au \
--cc=pthreads-win32@sources.redhat.com \
--cc=rower@MovieEditor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).