A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Pierre Schweitzer 0978c888bd [UDFS]
lolfix some deadlocks in UDFS:
- deadlock when enumerating files
- deadlock on shutdown after volume change

I could track it to the fact that for whatever reason, GCC wrongly optimize the
BOOLEAN used to store whether the VCB resource was acquired. The optimization being
to assume it's always FALSE. Thus, the resource is never released and the driver
ends in a deadlock.
To avoid this: marked the BOOLEAN variables as volatile.

I guess there are same kind deadlocks I couldn't see in my limited tests...

CORE-4375

svn path=/trunk/; revision=74897
2017-06-04 08:02:01 +00:00
reactos [UDFS] 2017-06-04 08:02:01 +00:00
rosapps [FONTSUB] 2017-03-21 16:00:05 +00:00
rossubsys [REACTOS][ROSAPPS][ROSSUBSYS] 2016-05-31 22:36:48 +00:00
rostests [UXTHEME_WINETEST] Sync with Wine Staging 2.9. CORE-13362 2017-06-04 01:52:19 +00:00
wallpapers