RE: pthread_cond_signal not waking thread

From: Andrew A.
Date: Tue Nov 16 2004 - 15:48:50 EST



Nikita:

I am running 2.6.10-rc1-bk7 ... what version of the kernel are you talking about? The link you included does not work.

A.

-----Original Message-----
From: Nikita Danilov [mailto:nikita@xxxxxxxxxxxxx]
Sent: Tuesday, November 16, 2004 3:32 PM
To: Andrew A.
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: pthread_cond_signal not waking thread


Andrew A. writes:
>
>
> Below is a sysrq-t dump (relevant process is called "tt1"), and a
> post I sent to ACE user group describing a situation I am seeing
> where a pthread_cond_signal() call sometimes does not wake up the
> thread waiting on the condition variable, despite a call to
> sched_yield() following the pthread_cond_signal(). All threads are
> running at equal priorities under SCHED_RR.
>

I experienced similar thing. Switching to the latest
http://linux.bkbits.net/linux-2.5 (done about 10 hours ago), (as advised
by Arjan van de Ven) fixed it.

Nikita.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/