[Scummvm-tracker] [ScummVM :: Bugs] #14638: SWORD1: Crashes due to data races (multi-threading)
ScummVM :: Bugs
trac at scummvm.org
Wed Sep 27 20:11:03 UTC 2023
#14638: SWORD1: Crashes due to data races (multi-threading)
-------------------------+-----------------------------
Reporter: PushmePullyu | Owner: AndywinXp
Type: defect | Status: pending
Priority: normal | Component: Engine: Sword1
Version: | Resolution: fixed
Keywords: | Game: Broken Sword 1
-------------------------+-----------------------------
Comment (by AndywinXp):
Thanks for the detailed response! Unfortunately I have tried in my
previous experiments force the palette fades to be single threaded, but I
found it to be next to impossible, given how the main loop is structured
(for instance, by design it is full of busy waits).
As for timing accuracy, I understand the concern; but for now it is
important that the game doesn't crash while running code which is supposed
to be there. I will definitely begin comparing timings between DOS and
ScummVM once all the changes I've made are perfectly stable.
So I'll give a crack at ensuring thread safeness by fixing all these crash
reports :-)
--
Ticket URL: <https://bugs.scummvm.org/ticket/14638#comment:7>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list