Re: Thread lag

2009-04-25 Thread Yann Leboulanger
Piet van Oostrum wrote: >> Asterix (A) a écrit: > >> A> Hi, >> A> Here is a small class I use in my GTK application, to do some job in a >> A> thread.: > >> A> class ThreadInterface: >> A>def __init__(self, func, func_args, callback, callback_args): >> A> '''Call a function in a th

Re: Thread lag

2009-04-25 Thread Piet van Oostrum
> Asterix (A) a écrit: >A> Hi, >A> Here is a small class I use in my GTK application, to do some job in a >A> thread.: >A> class ThreadInterface: >A>def __init__(self, func, func_args, callback, callback_args): >A> '''Call a function in a thread and then call callback''' >A>

Thread lag

2009-04-25 Thread Asterix
Hi, Here is a small class I use in my GTK application, to do some job in a thread.: class ThreadInterface: def __init__(self, func, func_args, callback, callback_args): '''Call a function in a thread and then call callback''' def thread_function(func, func_args, callback, callback_