Changeset 277:579bf6c29a92 in roaraudio


Ignore:
Timestamp:
07/24/08 16:01:52 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

commented out ioprio_set() code as it is not working, see manpages BUGs section

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r276 r277  
    232232  if ( errno ) 
    233233   ROAR_WARN("Can not decrease nice value by 5: %s", strerror(errno)); 
    234  
     234/* 
    235235#ifdef __linux__ 
    236  if ( ioprio_set(IOPRIO_WHO_PROCESS, getpid(), IOPRIO_PRIO_VALUE(IOPRIO_CLASS_BE, 0)) == -1 ) 
    237   ROAR_WARN("Can not set io priority: %s", strerror(errno)); 
     236  if ( ioprio_set(IOPRIO_WHO_PROCESS, getpid(), IOPRIO_PRIO_VALUE(IOPRIO_CLASS_BE, 0)) == -1 ) 
     237   ROAR_WARN("Can not set io priority: %s", strerror(errno)); 
    238238#endif 
     239*/ 
    239240 } 
    240241 
Note: See TracChangeset for help on using the changeset viewer.