[gnet-dev] Re: [gimpwin-dev] Windows sockets



On Tue, 5 Mar 2002, Andrew J. Lanoix wrote:
> I have things setup such that when something happens on the channel, 
> channel->data_avail_event is set. I am in the process on trying to figure 
> out a good way to integrate this into the main loop. Any suggestions?

It looks like the main loop uses f->fd as the handle to wait on (line 216
of gmain.c).  Shouldn't this be waiting on the data_avail_event? 

John





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