1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-05 09:36:19 +00:00
CC-Tweaked/projects
Jonathan Coates eb3e8ba677
Fix deadlock when adding/removing observers
When adding/removing observers, we locked on the observer, then
acquired the global lock. When a metric is observed, then we acquire the
global lock and then the observer lock.

If these happen at the same time, we can easily end up with a deadlock.
We simply avoid holding the observer lock for the entire add/remove
process (instead only locking when actually needed).

Closes #1639
2023-12-01 12:33:03 +00:00
..
common Fix deadlock when adding/removing observers 2023-12-01 12:33:03 +00:00
common-api Replace several Guava classes with Java stdlib 2023-10-11 09:59:55 +01:00
core Add abstract classes for our generic peripherals 2023-11-22 18:20:15 +00:00
core-api Allow generic sources to have instance methods 2023-11-22 10:06:11 +00:00
fabric Add compostors to the list of usable blocks 2023-11-22 18:24:59 +00:00
fabric-api Publish Fabric jars to CF/Modrinth 2023-03-15 23:20:13 +00:00
forge Add compostors to the list of usable blocks 2023-11-22 18:24:59 +00:00
forge-api License CC:T according to the REUSE specification (#1351) 2023-03-15 21:52:13 +00:00
lints Flesh out MemoryMount into a writable mount 2023-09-29 22:15:23 +01:00
standalone Add pasting support to the standalone emulator 2023-11-08 19:40:14 +00:00
web Add abstract classes for our generic peripherals 2023-11-22 18:20:15 +00:00
ARCHITECTURE.md Add a standalone CC:T UI 2023-10-28 17:58:11 +01:00