flush model event event count mutex pend event don wait ll deadlock todo want except thread current thread equal event thread event count mutex wait interrupt except defin log lp log granular type statement log error interrupt wait flush model event endif 