Subject: Re: CVS commit: src/lib/libpthread
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 09/02/2005 06:52:03
In article <431792A8.1020405@meinberlikomm.de>,
Stefan Krüger  <skrueger@meinberlikomm.de> wrote:
>Christos Zoulas wrote:
>> In article <431449AF.8070203@meinberlikomm.de>,
>> Stefan Krüger  <skrueger@meinberlikomm.de> wrote:
>> 
>>>now that yamt has fixed this (see
>>>http://mail-index.netbsd.org/source-changes/2005/08/28/0027.html) I
>>>think it's safe to use ncpu now
>>>
>>>regards,
>>>SK
>>>
>> 
>> 
>> The kill1 regression test is still broken.
>JFYI the kill1 test runs fine w/ "sched_yield;" removed from kill1.c...

On my dual CPU machine, having PTHREAD_CONCURRENCY set to 2, a small
program that creates two threads, makes one thread to spin in a while
loop and has the second thread trying to kill the first, throws an
assertion in pthread_sig.c (pthread__kill)which does not expect to have
a thread in the running state. This is the problem that needs to be fixed.

chrisdtos