* Ingo Strüwing <Ingo.Struewing@stripped> [09/05/06 20:03]:
> THD::awake() uses two mechanisms to awake a connection from its
> receiving state:
>
> A. thr_alarm_kill(), which is basically pthread_kill(target_thread,
> SIGALRM), which is meant to awake the target thread from 1.
> B. close_active_vio(), which is meant to prevent the target thread to
> fall asleep if it is in state 2. at the moment.
No, close_active_vio() is there for platforms where
pthread_kill() doesn't interrupt read(), like Mac OS X,
not to catch a race.
--