Add assertion that thread is suspended when using context registers
authorIvan Maidanski <ivmai@mail.ru>
Mon, 16 Sep 2019 08:39:42 +0000 (11:39 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 16 Sep 2019 08:39:42 +0000 (11:39 +0300)
commit190e18c75b2d1f669ee3bc767f34542fd73b2961
treec9cf0f12c57a39e15f3f22bc8443f25f9f7c0b1e
parentfa8b4826dab484ed304f29730e4e329be0696e93
Add assertion that thread is suspended when using context registers

* win32_threads.c (GC_push_stack_for): Add assertion that thread is
suspended (before using context registers) if thread is not self and
not blocked.
win32_threads.c