Changeset 3:e4ca2e057cec in xplcommon for src/xplcommon/posix/Thread.cc
- Timestamp:
- 12/27/12 13:01:22 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/xplcommon/posix/Thread.cc
r1 r3 30 30 //------------------------------------------------------------------------------ 31 31 32 #include "config.h" 33 #ifdef HAVE_PTHREAD_H 32 #include "Thread.h" 34 33 35 34 //------------------------------------------------------------------------------ 36 35 37 #include "POSIXThread.h" 36 using xplcommon::posix::Thread; 38 37 39 38 //------------------------------------------------------------------------------ 40 39 41 using xplcommon::POSIXThread; 42 43 //------------------------------------------------------------------------------ 44 45 void* POSIXThread::threadFn(void* arg) 40 void* Thread::threadFn(void* arg) 46 41 { 47 reinterpret_cast< POSIXThread*>(arg)->run();42 reinterpret_cast<Thread*>(arg)->run(); 48 43 return 0; 49 44 } 50 45 51 46 //------------------------------------------------------------------------------ 52 #endif // HAVE_PTHREAD_H53 54 47 55 48 // Local Variables:
Note:
See TracChangeset
for help on using the changeset viewer.