ultraq / redhorizon

Recreating the original 2D Command & Conquer games
Apache License 2.0
6 stars 4 forks source link

BrokenBarrierException on Windows #33

Closed ultraq closed 4 years ago

ultraq commented 4 years ago

This error seems to appear a lot more on Windows than Mac during video playback. I should see what can be done about it.

ultraq commented 4 years ago

So I think the linked commit fixed things - flip the code so that the barrier is reset before the main thread task is run. This seemed to happen on Windows more probably because there I'm running at 120FPS instead of 60FPS on Mac so the barrier code gets hit far more often.

Will keep open to monitor for a while.

ultraq commented 4 years ago

Running into new synchronization problems now, so the last commit didn't fix it. Investigating some more...

ultraq commented 4 years ago

OK, that one did a lot better, but I'm done with the 0.30.x branch, so moving this to track in the next milestone.