Thread Exiting

This is a discussion on Thread Exiting within the Windows Programming forums, part of the Platform Specific Boards category; Ive noticed that in my program that when i click a button and do something that uses threads, and then ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    215

    Thread Exiting

    Ive noticed that in my program that when i click a button and do something that uses threads, and then when i want to do another thing that uses the same thread i get this error message pop upn in the background and my program does not execute it:

    The thread 0x990 has exited with code 0 (0x0).
    The thread 0x830 has exited with code 0 (0x0).
    The thread 0x42C has exited with code 0 (0x0).


    I dont undertand what that means, can someone please help me?

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Without your code who can tell?

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Post the code that creates the thread. Post the thread callback function.

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 02-26-2009, 11:48 PM
  2. Terminating secondary thread from another thread
    By wssoh85 in forum C++ Programming
    Replies: 13
    Last Post: 12-19-2008, 05:14 AM
  3. Thread Prog in C language (seg fault)
    By kumars in forum C Programming
    Replies: 22
    Last Post: 10-09-2008, 02:17 PM
  4. pointer to main thread from worker thread?
    By draegon in forum C++ Programming
    Replies: 2
    Last Post: 10-27-2005, 07:35 AM
  5. Critical Sections, destroying
    By Hunter2 in forum Windows Programming
    Replies: 4
    Last Post: 09-02-2003, 11:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21