Re: [pygtk] Threads in timeouts

2003-01-13 Thread Jon Nelson
On Fri, 10 Jan 2003, Christian Reis wrote: On Fri, Jan 10, 2003 at 05:19:04PM -0500, Jesse Pavel wrote: I've read that timeout functions registered with gtk.timeout_add() may be called from a separate thread; but is this true even if I This was a rumor that Jon Nelson brought up, and I

Re: [pygtk] Threads in timeouts

2003-01-13 Thread Christian Reis
On Mon, Jan 13, 2003 at 01:52:07PM -0600, Jon Nelson wrote: This was a rumor that Jon Nelson brought up, and I have yet to see proof of it. I *think* your approach is safe, and that only the GTK thread will be used for all GTK operations, no matter what (after all, it *is* GTK who is

Re: [pygtk] Threads in timeouts

2003-01-12 Thread James Henstridge
Jesse Pavel wrote: Hello, I've read that timeout functions registered with gtk.timeout_add() may be called from a separate thread; but is this true even if I don't initialize threading with gtk.threads_init()? My plan was to have an independent thread--that never makes GDK or GTK calls--store

[pygtk] Threads in timeouts

2003-01-10 Thread Jesse Pavel
Hello, I've read that timeout functions registered with gtk.timeout_add() may be called from a separate thread; but is this true even if I don't initialize threading with gtk.threads_init()? My plan was to have an independent thread--that never makes GDK or GTK calls--store events in a Queue,

Re: [pygtk] Threads in timeouts

2003-01-10 Thread Christian Reis
On Fri, Jan 10, 2003 at 05:19:04PM -0500, Jesse Pavel wrote: I've read that timeout functions registered with gtk.timeout_add() may be called from a separate thread; but is this true even if I This was a rumor that Jon Nelson brought up, and I have yet to see proof of it. I *think* your

Re: [pygtk] Threads in timeouts

2003-01-10 Thread Jesse Pavel
Is this GTK 1.2 or 2.x? Ah, I should have mentioned that this is with Gtk 2. Take care, Jesse Christian Reis on January 10, 2003 wrote: On Fri, Jan 10, 2003 at 05:19:04PM -0500, Jesse Pavel wrote: I've read that timeout functions registered with gtk.timeout_add() may be