threads methods and expiration

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrcw
    New Member
    • Nov 2008
    • 82

    threads methods and expiration

    Hi

    if I start a thread is it permanantly there until the program ends?

    if I execute a method in that thread and it then calls another method is the second (called) method still working in the same thread?

    thank you
  • Subin Ninan
    New Member
    • Sep 2010
    • 91

    #2
    Yes, second method will running under the same thread(thread from which it was called). Once the execution of thread method completes, thread stops(stop state).

    Comment

    Working...