[sugar] Using threads in an Activity

Shikhar shikhar
Sat Jul 19 22:26:55 EDT 2008


Hi,

I am trying to use threads in my activity.  However, the UI locks up 
while the thread runs. Actually, it is somewhat strange what happens: 
the thread is already initialized and running, waiting on a Queue for a 
work request. After I make a request, this is when the UI locks up 
(although the request completes)

I have tried both gtk.gdk.threads_init() and gobject.threads_init() in 
my activity initialization before I call super

What am I missing?

Hope not being very inane...

Thanks,

Shikhar



More information about the Sugar-devel mailing list