On Wed, 10 Oct 2012 20:58:34 -0400
Kristian Høgsberg wrote:
> On Wed, Oct 10, 2012 at 11:32:15AM +0300, Pekka Paalanen wrote:
> > On Tue, 9 Oct 2012 22:37:58 -0400
> > Kristian Høgsberg wrote:
> >
> > > The update callback for the file descriptors was always a bit awkward and
> > > un-intuitiv
On Wed, Oct 10, 2012 at 11:32:15AM +0300, Pekka Paalanen wrote:
> On Tue, 9 Oct 2012 22:37:58 -0400
> Kristian Høgsberg wrote:
>
> > The update callback for the file descriptors was always a bit awkward and
> > un-intuitive. The idea was that whenever the protocol code needed to
> > write data
On Tue, 9 Oct 2012 22:37:58 -0400
Kristian Høgsberg wrote:
> The update callback for the file descriptors was always a bit awkward and
> un-intuitive. The idea was that whenever the protocol code needed to
> write data to the fd it would call the 'update' function. This function
> would adjust
The update callback for the file descriptors was always a bit awkward and
un-intuitive. The idea was that whenever the protocol code needed to
write data to the fd it would call the 'update' function. This function
would adjust the mainloop so that it polls for POLLOUT on the fd so we
can eventua