Thread: Thread inside a thread ?

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    16

    Thread inside a thread ?

    Hi,

    Can we create thread inside a thread ?. If i create a thread inside another thread , What will happen ?.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    You'll have 2 theads

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Since your main program is a thread, all the threads you create are in another thread anyway. No problem.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  4. #4
    Registered User
    Join Date
    Feb 2003
    Posts
    16
    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Questions about Multiple Threads and Sleep
    By BENCHMARKMAN in forum C Programming
    Replies: 13
    Last Post: 02-24-2008, 04:57 PM
  2. thread termination
    By arjunajay in forum Windows Programming
    Replies: 3
    Last Post: 06-26-2006, 11:32 PM
  3. Still battling with Copy Control
    By Mario F. in forum C++ Programming
    Replies: 9
    Last Post: 06-23-2006, 08:04 AM
  4. pointer to main thread from worker thread?
    By draegon in forum C++ Programming
    Replies: 2
    Last Post: 10-27-2005, 06:35 AM
  5. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM