January 31, 2011 volatile deprecated, yet still in Phobos? | ||||
|---|---|---|---|---|
| ||||
Hi,
I've tried to compile programs and Phobos without deprecated features on, and
yet I've come across a problem:
Volatile statements are deprecated.
So, for example, in thread.switchOut(), these statements are invalid:
volatile tobj.m_lock = true;
fiber_switchContext( oldp, newp );
What is the correct way to fix this?
Thank you!
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply