Bug 7772 – Remove volatile statements from core.thread

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-03-25T12:20:00Z
Last change time
2012-10-09T17:05:28Z
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2012-03-25T12:20:57Z
This is problematic for build tools that manually compile druntime/phobos. Without -d core.thread won't compile. I don't know why it's ok to ship code with DMD that requires deprecated features: D:\DMD\dmd2\src\druntime\src\core\thread.d(888): volatile statements deprecated; use synchronized statements instead D:\DMD\dmd2\src\druntime\src\core\thread.d(2953): volatile statements deprecated; use synchronized statements instead D:\DMD\dmd2\src\druntime\src\core\thread.d(3960): volatile statements deprecated; use synchronized statements instead D:\DMD\dmd2\src\druntime\src\core\thread.d(3968): volatile statements deprecated; use synchronized statements instead D:\DMD\dmd2\src\druntime\src\core\thread.d(3995): volatile statements deprecated; use synchronized statements instead D:\DMD\dmd2\src\druntime\src\core\thread.d(4004): volatile statements deprecated; use synchronized statements instead
Comment #1 by alex — 2012-10-09T17:00:57Z
This now done.
Comment #2 by andrej.mitrovich — 2012-10-09T17:05:28Z
Thanks.