Da Zheng, le Mon 28 Dec 2009 17:58:47 +0800, a écrit :
> On 09-12-27 上午1:47, Carl Fredrik Hammar wrote:
> > Is it the code below from S_auth_server_authenticate the problem?
> > 
> >   /* Store the new port and wait for the user RPC to wake us up.  */
> >   s.passthrough = newport;
> >   condition_init (&s.wakeup);
> >   ports_interrupt_self_on_port_death (serverauth, rendezvous);
> The reason we need this is to avoid this thread hangs forever if the client
> somehow dies?

Yes.

Samuel


Reply via email to