[Top][All Lists]

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

Re: [Pan-devel] g_message function calls

From: Charles Kerr
Subject: Re: [Pan-devel] g_message function calls
Date: Mon, 06 Nov 2006 14:42:05 -0600
User-agent: Thunderbird (X11/20060909)

Guilhem Bonnefille wrote:

I found some calls to the g_message function (~6 calls). Is it a
feature or a typo? Why such messages go to stderr and not to the Log

Because they're reporting messages in the socket creation code,
which runs in worker threads.  using the Log at that point
wouldn't be threadsafe.

The socket creation code is a special case there -- it's the /only/
part of Pan that uses threads, and it's a very small task.  The
purpose here is to make a connection in a nonblocking way so that
Pan doesn't freeze while connecting.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]