How to get success/failure in case of thread
vivek at cs.unipune.ernet.in
vivek at cs.unipune.ernet.in
Mon Jul 28 08:25:42 EDT 2003
Hi all,
I am trying to learn using threads in python. But the main problem I am
facing is how to check whether the function called using a thread succeeded or
failed. like when I call:
import thread
thread.start_new_thread(my_func,(args,))
here my_func will return true/1 on success and false/0 on failure. How can I
check whether the function failed/succeeded ???
TIA and Kind Regards
Vivek Kumar
More information about the Python-list
mailing list