File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/vanilla/java/affinity Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,8 @@ public static AffinityLock acquireCore(boolean bind) {
114114 private static AffinityLock acquireLock (boolean bind , int cpuId , AffinityStrategy ... strategies ) {
115115 synchronized (AffinityLock .class ) {
116116 for (AffinityStrategy strategy : strategies ) {
117- // consider all processors except core 0 which is usually used by the OS.
118- // if you have only one core, this library is not approriate in any case.
117+ // consider all processors except cpu 0 which is usually used by the OS.
118+ // if you have only one core, this library is not appropriate in any case.
119119 for (int i = PROCESSORS - 1 ; i > 0 ; i --) {
120120 AffinityLock al = LOCKS [i ];
121121 if (al .canReserve () && strategy .matches (cpuId , i )) {
You can’t perform that action at this time.
0 commit comments