Bug 60338

Summary: artsd does not run as realtime when configured to do so.
Product: [Unmaintained] arts Reporter: Aaron Williams <aaronw>
Component: artsdAssignee: Stefan Westerfeld <stefan>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Aaron Williams 2003-06-25 06:16:45 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    Compiled From Sources
OS:          Solaris

When KDE starts up it does not start artsd with realtime priority.  I can kill artsd and manually call artswrapper which enables realtime support.  This is after patching artswrapper to accept the return code from sched_setscheduler to support the return code in Solaris.  (I.E.)

#ifdef sun
                if(sched_setscheduler(0, SCHED_FIFO, &sp) != -1)
#else
                if(sched_setscheduler(0, SCHED_FIFO, &sp) == 0)
#endif
Comment 1 Arnold Krille 2003-06-25 12:50:29 UTC

*** This bug has been marked as a duplicate of 44150 ***