We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e39ccf7 commit 9df50ddCopy full SHA for 9df50dd
runtime/druntime/src/core/thread/fiber/base.d
@@ -682,6 +682,11 @@ private:
682
683
// Set first time switchIn called to indicate this Fiber's Thread
684
ThreadBase m_curThread;
685
+
686
+ version (SjLj_Exceptions)
687
+ {
688
+ SjLjFuncContext* m_sjljExStackTop;
689
+ }
690
}
691
Throwable m_unhandled;
692
State m_state;
@@ -1137,7 +1142,10 @@ unittest
1137
1142
fibs[idx].call();
1138
1143
cont |= fibs[idx].state != Fiber.State.TERM;
1139
1144
1140
- locks[idx] = false;
1145
+ version (LDC)
1146
+ locks[idx].atomicStore(false);
1147
+ else
1148
+ locks[idx] = false;
1141
1149
1150
else
1151
{
0 commit comments