NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/44986: "screens" gets stuck during detach



The following reply was made to PR kern/44986; it has been noted by GNATS.

From: Matthias Scheler <tron%zhadum.org.uk@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: kern/44986: "screens" gets stuck during detach
Date: Sat, 28 May 2011 14:40:05 +0100

 On Sat, May 28, 2011 at 12:15:05PM +0000, Matthias Scheler wrote:
 >  On Fri, May 27, 2011 at 07:45:07PM +0000, Christos Zoulas wrote:
 >  > The following reply was made to PR kern/44986; it has been noted by GNATS.
 >  > 
 >  > From: christos%zoulas.com@localhost (Christos Zoulas)
 >  > To: yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi), 
 > gnats-bugs%NetBSD.org@localhost
 >  > Cc: kern-bug-people%netbsd.org@localhost, 
 > gnats-admin%netbsd.org@localhost, 
 >  >   netbsd-bugs%netbsd.org@localhost, tron%zhadum.org.uk@localhost
 >  > Subject: Re: kern/44986: "screens" gets stuck during detach
 >  > Date: Fri, 27 May 2011 15:44:40 -0400
 >  > 
 >  >  On May 27,  2:20am, yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi) 
 > wrote:
 >  >  -- Subject: Re: kern/44986: "screens" gets stuck during detach
 >  >  
 >  >  | how does it work when select returns due to non-signal events?
 >  >  | 
 >  >  | YAMAMOTO Takashi
 >  >  
 >  >  Hmm, yes. I guess it will not restore the mask the same way. I will add a
 >  >  function to do it. The question is what uses pselect or pollts?
 >  
 >  I've traced the calls with a non-NULL "mask" value. They are all
 >  made by sys___pollts50() via pollcommon().
 
 And I think I found out why my system makes a lot of pollts(2) calls.
 This NetBSD system is a NIS client. And "src/lib/libc/rpc/clnt_dg.c"
 uses pollts(2) with a non-NULL argument for the mask.
 
        Kind regards
 
 -- 
 Matthias Scheler                                  http://zhadum.org.uk/
 


Home | Main Index | Thread Index | Old Index