Changeset 21051

Show
Ignore:
Timestamp:
02/23/08 13:12:46 (6 months ago)
Author:
patrick
Message:

De-inline methods that have no reason to be inlined.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vapor/vpr/md/POSIX/Sync/CondVarPosix.cpp

    r20974 r21051  
    190190} 
    191191 
     192void CondVarPosix::dump() const 
     193{ 
     194   std::cerr << "------------- vpr::CondVarPosix::Dump ---------\n" 
     195             << "Not Implemented yet.\n"; 
     196} 
     197 
    192198} // End of vpr namespace 
  • juggler/trunk/modules/vapor/vpr/md/POSIX/Sync/CondVarPosix.h

    r21048 r21051  
    258258    *       condition variable and its mutex are dumped to stderr. 
    259259    */ 
    260    void dump() const 
    261    { 
    262       std::cerr << "------------- vpr::CondVarPosix::Dump ---------\n" 
    263                 << "Not Implemented yet.\n"; 
    264    } 
     260   void dump() const; 
    265261 
    266262private: 
  • juggler/trunk/modules/vapor/vpr/md/POSIX/Sync/SemaphorePosix.cpp

    r21049 r21051  
    3636#include <vpr/vprConfig.h> 
    3737 
     38#include <cstdio> 
    3839#include <cstdlib> 
    3940#include <sstream> 
     
    154155} 
    155156 
     157void SemaphorePosix::dump(FILE* dest, const char* message) const 
     158{ 
     159   int value; 
     160   sem_getvalue(mSema, &value); 
     161   std::fprintf(dest, "%s", message); 
     162   std::fprintf(dest, "Current semaphore value: %d\n", value); 
    156163} 
     164 
     165} 
  • juggler/trunk/modules/vapor/vpr/md/POSIX/Sync/SemaphorePosix.h

    r21049 r21051  
    4646#include <vpr/vprConfig.h> 
    4747 
    48 #include <stdio.h> 
    4948#include <sstream> 
    5049#include <cstring> 
    5150#include <semaphore.h> 
    5251#include <errno.h> 
    53 #include <assert.h
     52#include <cassert
    5453#include <boost/concept_check.hpp> 
    5554#include <boost/noncopyable.hpp> 
     
    278277    */ 
    279278   void dump(FILE* dest = stderr, 
    280              const char* message = "\n------ Semaphore Dump -----\n") const 
    281    { 
    282       int value; 
    283       sem_getvalue(mSema, &value); 
    284       fprintf(dest, "%s", message); 
    285       fprintf(dest, "Current semaphore value: %d", value); 
    286    } 
     279             const char* message = "\n------ Semaphore Dump -----\n") const; 
    287280 
    288281protected: