Christopher Subich wrote: >Francois De Serres wrote: > > >>- so, on callback, I create a new thread, after checking that the >>previous one has returned already (WaitOnSingleObject(mythread)) so we >>only have one thread involved. >> >> > >Uh... to me, this looks like a frighteningly inefficient way of doing >things. How about using a synchronous queue to post the data to a >processing thread? That way, you don't have to create an entierly new >thread each time you receive data in the callback. > > Thanks for the tip, and sorry for frightening you. Maybe you can help as well with my issue?
Francois -- http://mail.python.org/mailman/listinfo/python-list