/[svn]/linuxsampler/trunk/src/common/Thread.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/Thread.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 360 by schoenebeck, Tue Jan 25 22:11:43 2005 UTC revision 361 by schoenebeck, Wed Feb 9 01:22:18 2005 UTC
# Line 124  int Thread::SignalStopThread() { Line 124  int Thread::SignalStopThread() {
124   *  current priority).   *  current priority).
125   */   */
126  int Thread::SetSchedulingPriority() {  int Thread::SetSchedulingPriority() {
127    #if !defined(__APPLE__)
128      struct sched_param schp;      struct sched_param schp;
129    
130      if (!isRealTime) return 0;      if (!isRealTime) return 0;
# Line 147  int Thread::SetSchedulingPriority() { Line 148  int Thread::SetSchedulingPriority() {
148          perror("sched_setscheduler");          perror("sched_setscheduler");
149          return -1;          return -1;
150      }      }
151    #endif
152      return 0;      return 0;
153  }  }
154    

Legend:
Removed from v.360  
changed lines
  Added in v.361

  ViewVC Help
Powered by ViewVC