notify: loop while no signal is pending
pthread_cond_wait() may wake up spuriously. To prevent superfluous
state checks, loop until the "pending" flag becomes true. Removed the
dangerous assertion.
Showing
Please
register
or
sign in
to comment