Ensure the thread is active in openmp

This commit is contained in:
Rodrigo Arias 2021-10-19 10:27:49 +02:00
parent 9f87c2a7a0
commit a3e542830d

View File

@ -75,6 +75,7 @@ void
hook_pre_openmp(struct ovni_emu *emu)
{
assert(emu->cur_ev->header.model == 'M');
assert(emu->cur_thread->is_active);
switch(emu->cur_ev->header.category)
{