CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Posts
    1

    How to kill a thread while creating another one

    I wanna kill a previously created background thread at the time of exiting
    the application.Please help.


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: How to kill a thread while creating another one

    you can kill a thread using TerminateThread.
    I'd rather tell the thread to end itself via events. The Thread should then call ExitThread.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured