- removeThreadLabel((StgWord)m->tso->id);
-#endif
- releaseCapability(cap);
- return;
- }
- else
- {
- // The current OS thread can not handle the fact that
- // the Haskell thread "m" has ended. "m" is bound;
- // the scheduler loop in it's bound OS thread has to
- // return, so let's pass our capability directly to
- // that thread.
- passCapability(&m->bound_thread_cond);
- continue;
- }
- }
+ removeThreadLabel((StgWord)m->tso->id);
+#endif
+ releaseCapability(cap);
+ return;
+ } else {
+ // The current OS thread can not handle the fact that
+ // the Haskell thread "m" has ended. "m" is bound;
+ // the scheduler loop in its bound OS thread has to
+ // return, so let's pass the capability directly to
+ // that thread.
+ passCapability(&m->bound_thread_cond);
+ continue;
+ }
+ }