Re: Notes when applying IO channel patch



Ron Steinke <rsteinke w-link net> writes:

> > From: Owen Taylor <otaylor redhat com>
> >
> > By "internally", I mean simply mean that it isn't handled
> > as an error, but as a separate status "GIOStatusAgain".
> 
> This reminds me: We can get rid of G_IO_STATUS_INTR in the
> interface, but we still need to use it internally for
> backwards compatibility. On EINTR, we want the new interface to
> handle the condition, but the old interface still
> needs to return G_IO_ERROR_AGAIN.

No need - GLib-1.2 just returned G_IO_ERROR_UNKNOWN in this case 
instead of anything useful.

(And also, even if people had handling for EINTR, simply handling
it internally should not break that.)

Regards,
                                        Owen




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