Re: [gtk-list] Re: getting inside gtk_main()
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: getting inside gtk_main()
- Date: Mon, 8 Nov 1999 15:01:01 -0500 (EST)
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]