Re: Thread-save posting of events

2007-04-03 Thread Tobias Rapp
Hi James, I really appreciated to read your experiences. Thanks for sharing them! JAMES SCOTT wrote: > This response may be a little off topic. But as I have followed this thread > I understand your are moving some application to linux from MS. Moreso, you > are planning on using gtk to get t

Re: Thread-save posting of events

2007-03-29 Thread JAMES SCOTT
pe some of what I've said help your quest. James, (a.k.a Skoona) - Original Message From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: Tobias Rapp <[EMAIL PROTECTED]> Cc: gtk-app-devel-list@gnome.org Sent: Thursday, March 29, 2007 4:15:54 AM Subject: Re: Threa

Re: Thread-save posting of events

2007-03-29 Thread jcupitt
On 3/29/07, Tobias Rapp <[EMAIL PROTECTED]> wrote: > Rick Jones wrote: > > I've only come across it while looking for other things, but perhaps the > > GAsyncQueues stuff would be useful for thread-to-thread comms? > > > > http://developer.gnome.org/doc/API/2.0/glib/glib-Asynchronous-Queues.html >

Re: Thread-save posting of events

2007-03-28 Thread Tobias Rapp
Rick Jones wrote: > I've only come across it while looking for other things, but perhaps the > GAsyncQueues stuff would be useful for thread-to-thread comms? > > http://developer.gnome.org/doc/API/2.0/glib/glib-Asynchronous-Queues.html That looks exactly like the thing I'm searching for. I had a

Re: Thread-save posting of events

2007-03-28 Thread Rick Jones
Tobias Rapp wrote: > Hello! > > I'm new to this list and also a novice in GTK programming. My company is > considering to port some of our Windows service (aka daemon) > applications to GNU/Linux and thus I'm evaluating what libraries to use > for that. Currently I'm programming with Delphi5 on Wi

Re: Thread-save posting of events

2007-03-28 Thread jcupitt
On 3/28/07, Tobias Rapp <[EMAIL PROTECTED]> wrote: > that. But what is not clear to me is how to place an event in the event > loop of another thread. If I raise an signal the connected slots will be The usual recommendation is to keep all GTK stuff (including the main loop) in one thread. You ca