Related: Catch a thread's exception in the caller thread in Python
When I catch exception in a child thread:
I need to let the thread caller to know
In the related posting, accepted answer checks for queue which is fine but it prevents the main caller from doing anything else because its keep checking the queue
So it would be ideal if it's event based.
The solution should be: main caller does things (not continuously checking the queue for error in child thread) and if something goes bad inside child thread, child thread lets main caller know through some event and main caller process the error.
I ve been looking at different articles and solutions but all event stuff is directed towards main caller communicating to a child thread and not vice versa
any solution that a child thread communicating to the caller via events?