Re: [gnet] async dns question
- From: David Helder <dhelder umich edu>
- To: Tim Muller <tpm101 gmx net>
- Cc: gnet gnetlibrary org
- Subject: Re: [gnet] async dns question
- Date: Mon, 5 Aug 2002 15:21:57 -0400 (EDT)
Tim,
I'm not sure what's going on. If you're using Linux and pthreads, it's
possible that pthreads allocates a thread for itself to do special
pthreads stuff. Is the extra thread misbehaving at all - crashing or
using too much CPU or memory?
David
On Wed, 26 Jun 2002, Tim Muller wrote:
> Hi,
>
> I'm using gnet-1.1.4 with glib 1.2.10 in a single-threaded gtk+ program.
>
> I'm trying to do a number of async DNS lookups using
> gnet_inetaddr_new_async(). I believe on my system pthreads are used for that.
>
> The lookup seems to work fine, but in the end I'm always stuck with exactly
> one superfluous thread that doesn't go away even though all lookups are
> finished. It doesn't matter if I'm looking up 20 or only 1 name - it's always
> the first thread created by gnet_inetaddr_new_async() that sticks around.
>
> Is that normal? (I don't really have much clue about threads-stuff)
>
> Cheers
> -Tim
> _______________________________________________
> gnet mailing list
> gnet gnetlibrary org
> http://www.gnetlibrary.org/mailman/listinfo/gnet
>
--
__ _ __ David Helder - dhelder umich edu
___/ /__ __ __(_)__/ / <http://www.eecs.umich.edu/~dhelder>
/ _ / _ `/ |/ / / _ / Jungle Monkey: <http://www.junglemonkey.net>
|_,_/|_,_/|___/_/|_,_/ Paper CD Case: <http://www.papercdcase.com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]