We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e538d4b + 63a64d4 commit a161decCopy full SHA for a161dec
affinity/src/main/java/net/openhft/affinity/AffinityLock.java
@@ -322,10 +322,12 @@ public void bind(boolean wholeCore) {
322
323
final boolean canReserve(boolean specified) {
324
325
+ if (!specified && !reservable)
326
+ return false;
327
+
328
if (!LockCheck.isCpuFree(cpuId))
329
return false;
330
- if (!specified && !reservable) return false;
331
if (assignedThread != null) {
332
if (assignedThread.isAlive()) {
333
0 commit comments