Messages in this thread | | | Date | Sat, 8 Nov 2003 10:28:34 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: 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/
| |