Skip to content
  • Ben Gamari's avatar
    rts: Remove incorrect assertions around MSG_THROWTO messages · b75e7486
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    Previously we would assert that threads which are sending a
    `MSG_THROWTO` message must have their blocking status be blocked on the
    message. In the usual case of a thread throwing to another thread this
    is guaranteed by `stg_killThreadzh`.  However, `throwToSelf`, used by
    the GC to kill threads which ran out of heap, failed to guarantee this.
    
    Noted while debugging #17785.
    b75e7486