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

Diff for /pegasus/src/Pegasus/Common/Threads.cpp between version 1.13 and 1.14

version 1.13, 2008/05/21 10:44:48 version 1.14, 2008/09/02 14:11:21
Line 44 
Line 44 
 # include <unistd.h> # include <unistd.h>
 #endif #endif
  
   #if defined(PEGASUS_OS_SOLARIS)
   # include <unistd.h>
   #endif
   
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 void Threads::sleep(int msec) void Threads::sleep(int msec)
Line 199 
Line 203 
  
     // Scheduling policy:     // Scheduling policy:
  
 #if defined(PEGASUS_PLATFORM_SOLARIS_SPARC_GNU) || \  #if defined(PEGASUS_OS_SOLARIS)
     defined(PEGASUS_PLATFORM_SOLARIS_SPARC_CC)  
 # if defined SUNOS_5_7  
     pthread_attr_setschedpolicy(&attr, SCHED_RR);  
 # else  
     pthread_attr_setschedpolicy(&attr, SCHED_OTHER);     pthread_attr_setschedpolicy(&attr, SCHED_OTHER);
 # endif  
 #endif // PEGASUS_PLATFORM_SOLARIS_SPARC_GNU  #endif /* defined(PEGASUS_OS_SOLARIS) */
  
     // Create thread:     // Create thread:
  


Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2