Changeset 21042

Show
Ignore:
Timestamp:
02/23/08 08:09:17 (9 months ago)
Author:
patrick
Message:

De-inline expensive constructor and destructor.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vapor/vpr/Thread/ThreadPool.cpp

    r21041 r21042  
    4747namespace vpr 
    4848{ 
     49 
     50OneThread::OneThread() 
     51   : thread(NULL) 
     52   , next(NULL) 
     53   , threadWait(0) 
     54{ 
     55   /* Do nothing. */ ; 
     56} 
     57 
     58OneThread::~OneThread() 
     59{ 
     60   /* Do nothing. */ ; 
     61} 
    4962 
    5063// --------------------------------------------------------------------------- 
  • juggler/trunk/modules/vapor/vpr/Thread/ThreadPool.h

    r21040 r21042  
    5252 * Helper class for vpr::ThreadPool. 
    5353 */ 
    54 class OneThread 
     54class VPR_CLASS_API OneThread 
    5555{ 
    5656public: 
    57    OneThread() 
    58       : thread(NULL) 
    59       , next(NULL) 
    60       , threadWait(0) 
    61    { 
    62       /* Do nothing. */ ; 
    63    } 
     57   OneThread(); 
    6458 
    65    ~OneThread() 
    66    { 
    67       /* Do nothing. */ ; 
    68    } 
     59   ~OneThread(); 
    6960 
    7061public: