void foo(Mutex m, Data d) pure { synchronized(m) { // ... manipulate d } // no guarantee m gets unlocked }-Steve
Isn't synchronized(m) not nothrow?
Stanislav Blinov via Digitalmars-d Thu, 08 Jun 2017 08:23:03 -0700
void foo(Mutex m, Data d) pure { synchronized(m) { // ... manipulate d } // no guarantee m gets unlocked }-Steve
Isn't synchronized(m) not nothrow?