Re: [gamin] Status of client/server deadlock issue



On Wed, Jan 25, 2006 at 02:02:45PM -0500, Dean Brettle wrote:
> Hi,
> 
> I fairly regularly experience the client/server deadlock issue described
> at:
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=154686
> 
> Has anyone already started work on the problem?  If not, I'd like to try
> to implement a fix and would appreciate any advice on preferred
> implementations, things to watch out for, etc.  
> 
> I've looked through the code and my current plan is to add a test case
> and then change the server to use non-blocking IO.  Looks like I'd need

  That's the suggestion of Mark, please go ahead !

> to change gam_client_create() to set the appropriate flags on the socket
> and then change the rest of the code to deal with the EAGAIN status -- a
> non-trivial undertaking.  Sound right?

  Sounds right, yes.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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