(file) Return to Thread.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Thread.cpp between version 1.107 and 1.108

version 1.107, 2008/09/16 18:37:03 version 1.108, 2008/10/17 11:07:33
Line 80 
Line 80 
  
 void Thread::thread_switch() void Thread::thread_switch()
 { {
 #if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM)  #if defined(PEGASUS_OS_ZOS)
     pthread_yield(NULL);     pthread_yield(NULL);
 #else #else
     sched_yield();     sched_yield();
Line 103 
Line 103 
 void Thread::detach() void Thread::detach()
 { {
     _is_detached = true;     _is_detached = true;
 #if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM)  #if defined(PEGASUS_OS_ZOS)
     pthread_t  thread_id=_handle.thid.thread;     pthread_t  thread_id=_handle.thid.thread;
     pthread_detach(&thread_id);     pthread_detach(&thread_id);
 #else #else


Legend:
Removed from v.1.107  
changed lines
  Added in v.1.108

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2