Files
shattered-pixel-dungeon-web…/core
Evan Debenham 8d7eac940b v0.4.2: switch wait/notify to busy wait
This solves a race condition, yes using lock/semaphore would do this too, but that is a considerable amount of complexity for what amounts to an extremely simple bit of blocking logic. busy-wait works just as well and is insignificantly more expensive with the use of thread.sleep.
2016-09-09 18:00:05 -04:00
..