In general the operating system takes care of allocating threads to cores. I wonder whether there is a way for the program to be invloved in this allocation.
In other words: Is there an API (for either the Linux or Win32 platforms) enabling to create a thread that is associated with a specific core?