This is the mail archive of the pthreads-win32@sourceware.org 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]

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


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