Documentation says "This fiber must be in state TERM." but in the core.thread I see In contract only on reset without parameters (bug maybe?) and with HOLD condition too:
"assert( m_state == State.TERM || m_state == State.HOLD );"

Does that mean its ok to reset the fiber if I'm not using things like scope(exit)? I don't like adding "if(fibIsDestroyed) return;" snippet after each Fiber.delay() - its error-prone.

Reply via email to