Hello guys,
this is a thread question:
I do've a main thread wich is starting a sub thread at a certain point. The problem: It seems that the sub thread does not get any cpu time to work. If I putin the main thread the sub thread is working without complaints.Code:time.sleep(1)
But this certainly can't be the way.
I still have problems to understand the use of active objects (which might be the root of my problem).
Can somebody give some advice pls?
e.g. How can I tell the greedy main thread to leave some cpu time for the poor sub thread?
What can I do with this:?Code:lock = thread.allocate_lock lock.release()
1000Thx
novis


).
Reply With Quote




