Re: glib patch to handle EINTR in poll



On Tue, 14 Nov 2000, Elliot Lee wrote:

> On Tue, 14 Nov 2000, Tim Janik wrote:
> 
> > glib shouldn't retry polling if it got EINTR, that'd defeat
> > signal handlers setup in the application, instead it should
> > just do its normal dispatching work.
> 
> It won't defeat the signal handlers (signal handlers will be called no
> matter what the process is doing), and there is no dispatching to do when
> EINTR is received.

signal handlers may very well be handled through a main loop
source, so dispatching is actualy required.

> > gtk-bugs is the wrong list to send such patches btw, we've got
> > gtk-devel-list for that purpose.
> 
> Then forward gtk-bugs to gtk-devel-list. :)

nope, that'd flood a list intended for discussions with maintenance
mails from bugs.gnome.org.

> 
> -- Elliot
> "The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words,
> Archimedes Principle has 67 words, the 10 Commandments have 179 words, the
> Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and
> finally the European Commission's regulation on the sale of cabbage: 26,911 words."
> 

---
ciaoTJ





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