Re: [gtk-list] Re: getting inside gtk_main()




On Mon, 8 Nov 1999, Paul Barton-Davis wrote:
> 
> but isn't a event source based on using select/poll ? 
>

Nope, it's just a virtual interface, you have to implement three or four
functions.
 
> sure, i have this working for now by sticking a pipe in place, and
> writing a byte to the pipe from the POSIX signal handler. i don't want
> to do it that way: its way to heavyweight. i want an "event source"
> that is literally just a flag variable that can be set directly from a
> POSIX signal handler. is this what Tim has done ?
> 

Yep, he just sets a flag. I found it in CVS; look at
beast/bse/glib-extra.[hc]

Havoc




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