mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
92446a399e1e6e2f192bba9d47def6b59b1ff809
Moved the synchronized writeObject(...) method to base class TrackedRaceImpl where the important data structures reside. Removed the synchronized qualifier and rely only on the CouseImpl's lock. However, this is as unsafe as the synchronized was. What would actually be required is a dedicated writeObject method that locks on each individual structure's lock when it writes it.
Languages
Java
75.7%
JavaScript
15%
HTML
2.7%
Objective-C
2.1%
Slash
1.8%
Other
2.5%