Re: inconsistency in thread/signal interaction in 2.6.5 and previousvs. 2.6.6 and later (possibly a bug?)

From: Jesper Juhl
Date: Mon Aug 16 2004 - 05:48:56 EST


On Mon, 16 Aug 2004, Glyph Lefkowitz wrote:

> Hello Kernel People,
>
> Firstly, here is a brief example of some code that behaves very
> differently on 2.6.5 and 2.6.6:
>
> http://www.twistedmatrix.com/users/glyph/signal-bug.c
>
> I have verified that it says "Completed" on kernel 2.6.5, 2.6.3 and
> 2.6.1, and says "Died" on 2.6.6, 2.6.7 and 2.6.8.1, so I am pretty sure
> the difference is between 2.5.6 and 2.6.6.
>
FYI :

juhl@dragon:~$ gcc signal-bug.c -Wall -lutil -lpthread -o signal-bug; ./signal-bug
Completed.
juhl@dragon:~$ cat /proc/version
Linux version 2.6.8.1 (juhl@dragon) (gcc version 3.4.1) #1 Sun Aug 15 22:01:56 CEST 2004

glibc is 2.3.2


--
Jesper Juhl <juhl-lkml@xxxxxx>


-
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/