Ensure the thread is active in openmp
This commit is contained in:
parent
9f87c2a7a0
commit
a3e542830d
@ -75,6 +75,7 @@ void
|
|||||||
hook_pre_openmp(struct ovni_emu *emu)
|
hook_pre_openmp(struct ovni_emu *emu)
|
||||||
{
|
{
|
||||||
assert(emu->cur_ev->header.model == 'M');
|
assert(emu->cur_ev->header.model == 'M');
|
||||||
|
assert(emu->cur_thread->is_active);
|
||||||
|
|
||||||
switch(emu->cur_ev->header.category)
|
switch(emu->cur_ev->header.category)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user