I'm getting pops in xmms under -current.  Awhile back the realtime
scheduling option for xmms was busted, so I wrote this wrapper script
around xmms.  Am I doing the right thing here?  Is there anything else I
could do to config -current to eliminate pops?  Is -current going to get a
fully-preemptable kernel anytime soon?


#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/rtprio.h>

int main(int argc, char *argv[]) {
        struct rtprio rtp;

        rtp.type = RTP_PRIO_REALTIME;
        rtp.prio = 10;

        if (rtprio(RTP_SET, 0, &rtp) != 0)
                perror("rtprio");
        setreuid(0,0);
        execv("/usr/X11R6/bin/xmms", argv);
        perror("execv");
}


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to