bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Thread Question


From: Srinivasa T.N.
Subject: Thread Question
Date: Wed, 30 Jan 2002 18:01:05 +0530
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1

Hi All,
   I agree this OT, but still..
   I am using Redhat 7.1 and Common C++ 1.4.2...
A Thread object is created and told to start. When the object is destroyed, we call a pthread_join in the destructor so that we are sure that thread will also get destroyed when the object is destroyed. But when thread comes out of Run, it will get destoryed and that object's should be destoryed. Or in the least case, how can I determine whether the thread is till executing or terminated.. (I checked manually that after Thread exits, the threadid will not be 0 ..this is done in isRunning() method..)..

Seenu.

--
-----------------------------------------------------------------------------
If not here, you can reach me at address@hidden

C-DOT, 71/1, Sneha Complex, Miller Road, Bangalore - 560 052
Ph: 226 3399 Ext: 268/Direct: 238 3951 (Off)   363 1707 (Resi)
        http://www.geocities.com/seenutn





reply via email to

[Prev in Thread] Current Thread [Next in Thread]