From: John Emmas <john@creativepost.co.uk>
To: pthreads-win32@sourceware.org
Subject: Allocating a thread to a specific processor core
Date: Mon, 14 May 2018 08:08:00 -0000 [thread overview]
Message-ID: <c05db5df-a6d9-9c30-0061-846c12cc484f@creativepost.co.uk> (raw)
When using 'pthread_create()' (on Windows) is it possible to specify a
preferred processor/core for the thread to run on (in the attributes maybe?)
Windows itself has a function for doing this but I just wondered if
there's anything similar that's already available in libpthread?
https://msdn.microsoft.com/en-us/library/windows/desktop/ms686253%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
Thanks,
John
next reply other threads:[~2018-05-14 8:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-14 8:08 John Emmas [this message]
2018-05-14 10:29 ross.johnson
2018-05-14 14:09 ` John Emmas
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=c05db5df-a6d9-9c30-0061-846c12cc484f@creativepost.co.uk \
--to=john@creativepost.co.uk \
--cc=pthreads-win32@sourceware.org \
/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).