mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
0978c888bd0c58893c032cec7a97f6dea60c79b3
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
Description
A free Windows-compatible Operating System
528 MiB
Languages
C
86.9%
C++
10.7%
Python
0.7%
Assembly
0.5%
CMake
0.5%
Other
0.4%