On Tue, Aug 02, 2005 at 07:47:32AM -0400, Owen Taylor wrote:
> On Sun, 2005-07-31 at 15:44 -0600, Pat Mahoney wrote:
> > (not subscribed; please CC replies)
> >
> > I'm trying to find a way to provide my mainloop with asynchronous data
> > from a thread. I have read this:
> >
> > http://mail.gno
On Tue, 2005-08-02 at 06:36 -0600, Pat Mahoney wrote:
> On Tue, Aug 02, 2005 at 07:47:32AM -0400, Owen Taylor wrote:
> > On Sun, 2005-07-31 at 15:44 -0600, Pat Mahoney wrote:
> > > (not subscribed; please CC replies)
> > >
> > > I'm trying to find a way to provide my mainloop with asynchronous dat
On Mon, Aug 01, 2005 at 05:36:47PM -0400, Tristan Van Berkom wrote:
> In gereral this is how we deal with this problem:
>
> typedef struct {
> GSource source;
> gpointer my;
> gint extended;
> gchar *data;
> } GMySource;
Thanks, works great. My C skills are weak... should
On Sun, 2005-07-31 at 15:44 -0600, Pat Mahoney wrote:
> (not subscribed; please CC replies)
>
> I'm trying to find a way to provide my mainloop with asynchronous data
> from a thread. I have read this:
>
> http://mail.gnome.org/archives/gtk-app-devel-list/2004-July/msg00181.html
>
> which descr
Pat Mahoney wrote:
[...]
The GSourceFuncs "prepare" and "check" are only passed the GSource and
no other data. Thus, the only way they can check any variable is
through a global variable. Now, my program would like to dynamically
create several (likely never more than 3-5) threads to feed the
m