mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-13 07:40:58 +00:00
changed name for mark passings locks
This commit is contained in:
1 parent
df1f18f3f7
commit
b704a21b81
1 file changed
+1
-1
+1
-1
@@ -1498,7 +1498,7 @@ public abstract class TrackedRaceImpl implements TrackedRace, CourseListener {
|
||||
synchronized (locksForMarkPassings) {
|
||||
NamedReentrantReadWriteLock lock = locksForMarkPassings.get(markPassings);
|
||||
if (lock == null) {
|
||||
lock = new NamedReentrantReadWriteLock("mark passings lock for "+markPassings, /* fair */ false);
|
||||
lock = new NamedReentrantReadWriteLock("mark passings lock for tracked race "+getRace().getName(), /* fair */ false);
|
||||
locksForMarkPassings.put(markPassings, lock);
|
||||
}
|
||||
return lock;
|
||||
|
||||
Reference in new issue
Block a user