-
Notifications
You must be signed in to change notification settings - Fork 369
Closed
Description
Hi,
I tried to use the AffinityLock.acquireCore(). it looks good and seems that it does lock specific Core to a thread. however, when I run 2 (similar) processes on same machine it looks like the seconds process locks on same Core, as the first app. here are the dumps of 2 apps (I run on my desktop, only 4 cores):
dump of App 1:
0: General use CPU
1: Reserved for this application
2: Thread[name1,5,main] alive=true
3: General use CPU
dump of App 2:
0: General use CPU
1: Reserved for this application
2: Thread[name3,5,main] alive=true
3: General use CPU
is that on purpose?
I would assume that once core is locked, than other apps won't be able to lock the same core.
Thanks,
Arik
Metadata
Metadata
Assignees
Labels
No labels