lkml.org 
[lkml]   [2003]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6-test6: nanosleep+SIGCONT weirdness

On Sat, 8 Nov 2003, Denis wrote:
>
> I observe some strange behaviour in 2.6-test6 with this small program:

Good catch.

That nanosleep restart seems to be broken, and quite frankly, looking at
the mess in kernel/posix-timers.c I'm not all that surprised. The code is
total and absolute crap. I have no idea how it's even supposed to work.

I suspect that it might just work right if you disable the nanosleep stuff
by undefining FOLD_NANO_SLEEP_INTO_CLOCK_NANO_SLEEP in <linux/signal.h>.
Because unlike the "folded" version in posix-timers.c, the original
version at least looks sane.

Linus

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

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.165 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site