I am facing a situation like this ...
The main thread has some object "result" and it passed as a reference to a new thread 'T' now main thread in destructing result object and thread 'T' is trying to use that result object after its destruction by the Main thread. (Given that T is detached)
I want to kill the thread T when result object is destroyed.
Aucun commentaire:
Enregistrer un commentaire