Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 75254 | Differences between
and this patch

Collapse All | Expand All

(-)src/drivers/disk/ablk.c (-1 / +1 lines)
Lines 216-222 Link Here
216
io_thread( void *dummy ) 
216
io_thread( void *dummy ) 
217
{
217
{
218
	char ch;
218
	char ch;
219
	setpriority( PRIO_PROCESS, getpid(), -19 );
219
	/* setpriority( PRIO_PROCESS, getpid(), -19 ); */
220
220
221
	for( ;; ) {
221
	for( ;; ) {
222
		read( ablk.ctrl_pipe[0], &ch, 1 );
222
		read( ablk.ctrl_pipe[0], &ch, 1 );
(-)src/drivers/osi_sound.c (-4 / +4 lines)
Lines 676-682 Link Here
676
static void
676
static void
677
audio_thread( void *dummy )
677
audio_thread( void *dummy )
678
{
678
{
679
	setpriority( PRIO_PROCESS, getpid(), -20 );
679
	/* setpriority( PRIO_PROCESS, getpid(), -20 ); */
680
680
681
	LOCK;
681
	LOCK;
682
	if( ss.ringbuf )
682
	if( ss.ringbuf )
Lines 695-701 Link Here
695
		ss.startboingbuf = NULL;
695
		ss.startboingbuf = NULL;
696
	}
696
	}
697
	UNLOCK;
697
	UNLOCK;
698
	setpriority( PRIO_PROCESS, getpid(), 0 );
698
	/* setpriority( PRIO_PROCESS, getpid(), 0 ); */
699
}
699
}
700
700
701
701
Lines 770-776 Link Here
770
	ss.started = 0;
770
	ss.started = 0;
771
771
772
	LOCK;
772
	LOCK;
773
	setpriority( PRIO_PROCESS, getpid(), ss.save_priority );
773
	/* setpriority( PRIO_PROCESS, getpid(), ss.save_priority ); */
774
774
775
	ss.thread_running = -1;
775
	ss.thread_running = -1;
776
	irq_line_low( ss.irq );
776
	irq_line_low( ss.irq );
Lines 795-801 Link Here
795
	ss.dbuf_go = 0;
795
	ss.dbuf_go = 0;
796
796
797
	ss.save_priority = getpriority( PRIO_PROCESS, pid );
797
	ss.save_priority = getpriority( PRIO_PROCESS, pid );
798
	setpriority( PRIO_PROCESS, pid, -12 );
798
	/* setpriority( PRIO_PROCESS, pid, -12 ); */
799
799
800
	if( ss.thread_running ) {
800
	if( ss.thread_running ) {
801
		/* jump start already running thread */
801
		/* jump start already running thread */
(-)src/main/async.c (-1 / +1 lines)
Lines 191-197 Link Here
191
	char ack_char;
191
	char ack_char;
192
192
193
	/* Increase priority to reduce latency */
193
	/* Increase priority to reduce latency */
194
	setpriority( PRIO_PROCESS, getpid(), -17 );
194
	/* setpriority( PRIO_PROCESS, getpid(), -17 ); */
195
195
196
	while( !cancel_poll_thread ) {
196
	while( !cancel_poll_thread ) {
197
		if( (num_pending=poll(ufds, num_poll, -1)) < 0 ) {
197
		if( (num_pending=poll(ufds, num_poll, -1)) < 0 ) {

Return to bug 75254