Index: thread.c =================================================================== --- thread.c (revision 26315) +++ thread.c (working copy) @@ -3680,6 +3680,7 @@ flag |= hook->flag; hook = hook->next; } + th->event_flags = flag; } static void