Thread inside a thread ?

This is a discussion on Thread inside a thread ? within the Linux Programming forums, part of the Platform Specific Boards category; Hi, Can we create thread inside a thread ?. If i create a thread inside another thread , What will ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,532
    You'll have 2 theads

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    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, 03: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

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