This is the mail archive of the
pthreads-win32@sourceware.org
mailing list for the pthreas-win32 project.
Allocating a thread to a specific processor core
- From: John Emmas <john at creativepost dot co dot uk>
- To: pthreads-win32 at sourceware dot org
- Date: Mon, 14 May 2018 09:08:25 +0100
- Subject: Allocating a thread to a specific processor core
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