Re: New GIOP timeout patch - please review
"Gustavo J. A. M. Carneiro" <[email protected]> Fri, 22 Jun 2007 15:34:40 +0100
| Newsgroups | gmane.comp.gnome.orbit.general |
|---|---|
| Organization | INESC Porto |
| Message-ID | <1182522880.12892.22.camel@localhost> |
On Sex, 2007-06-22 at 16:06 +0200, Jules Colding wrote: > Hi, > > On Fri, 2007-06-22 at 14:18 +0200, Jules Colding wrote: > > > -really- it would be way better to instrument your glib and find out > > > why the timeout thing is not getting called. -One- possibility may be > > > that you're not setting it to be a 'recursive' source (although perhaps > > > unlikely given the lack of re-enterancy there). > > > > I think that I need to crawl down into glib and take a look... > > Sigh... I've been crawling all over the glib source. I can see that my > timeout source is being added to the context(s) but nothing happens. > > I've tried the main context and the giop loop context but with equally > disappointing results. > > Any advise/help/encouraging yells would be highly appreciated. Try using strace to run your test program. Make sure the the Link socket is always in non-blocking mode; if it is in blocking mode, for sure glib timeouts will not work. -- Gustavo J. A. M. Carneiro INESC Porto, Telecommunications and Multimedia Unit "The universe is always one step beyond logic." -- Frank Herbert