I would like a solution that doesn’t include critical sections or similar synchronization alternatives. I’m looking for something similar the equivalent of Fiber (user level threads) from Windows.
I would like a solution that doesn’t include critical sections or similar synchronization alternatives.
Share
The OS manages what threads are processed on what core. You will need to assign the threads to a single core in the OS.
For instance. On windows, open task manager, go to the processes tab and right click on the java processes… then assign them to a specific core.
That is the best you are going to get.