http://qs1969.pair.com?node_id=237737


in reply to exception when detached thread ends

Could you post some code that recreates the error?

Also, is it possible that the parent thread is ending before your detached thread is?

-Nitrox

  • Comment on Re: exception when detached thread ends

Replies are listed 'Best First'.
Re: Re: exception when detached thread ends
by playingwithbots (Novice) on Feb 22, 2003 at 20:59 UTC
    No, the parent is still running. In a main routine, I create a thread that launches notepad.exe to edit a file. Then I do the detach. When I exit notepad, I get the error. I have other code in the same program that exhibits the same behavior.