Subject: Re: galeon hangs
To: None <netbsd-users@netbsd.org>
From: Wolfgang S. Rupprecht <wolfgang+gnus20040220T133013@dailyplanet.dontspam.wsrcc.com>
List: netbsd-users
Date: 02/20/2004 13:31:54
smb@research.att.com (Steven M. Bellovin) writes:
> Interesting -- I had suspected something thread-related, because the
> it's not just the downloads that hang; I can't kill tabs or windows, or
> get to any menus.
>
> Hmm -- is the resolver it's using thread-safe?
FYI. I'm using stock current. Looking at res_send.c:send_dg() I
don't immediately see anything that looks like a LOCK()/UNLOCK()
around where it opens a new socket and where it uses it. Hopefully
someone that understands this will point out that there is implied
locking because threads can't switch on certain kernel-calls or
something like that.
-wolfgang