[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 4 week-old pretest bugs
From: |
Chris Moore |
Subject: |
Re: 4 week-old pretest bugs |
Date: |
Wed, 10 Jan 2007 18:34:32 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
Jan Djärv <address@hidden> writes:
> Thanks. Somehow the thread detection thingy isn't working
> correctly. While I try to figure this out, please try the patch
> suggested by YAMAMOTO Mitsuharu.
That patch didn't appear to make any difference, but I've found one
that fixes the bug for me.
I have no idea why it works, but it does really seem to:
------------------------------------------------------------------------
--- src/blockinput.h 2007-01-10 18:22:43.000000000 +0100
+++ src/new/blockinput.h 2007-01-10 18:18:18.000000000 +0100
@@ -61,8 +61,10 @@
extern int pending_atimers;
+static int mytmp;
+
/* Begin critical section. */
-#define BLOCK_INPUT (interrupt_input_blocked++)
+#define BLOCK_INPUT (mytmp++, interrupt_input_blocked++)
/* End critical section.
------------------------------------------------------------------------
I suppose this must be indicitive of some kind of race condition,
since the mytmp++ doesn't do anything but delay the increment of
interrupt_input_blocked by a very short amount of time.
Chris.
- Re: 4 week-old pretest bugs, (continued)
- Re: 4 week-old pretest bugs, Chris Moore, 2007/01/14
- Re: 4 week-old pretest bugs, Jan Djärv, 2007/01/15
- Re: 4 week-old pretest bugs, YAMAMOTO Mitsuharu, 2007/01/23
- Re: 4 week-old pretest bugs, Chris Moore, 2007/01/24
- Re: 4 week-old pretest bugs, YAMAMOTO Mitsuharu, 2007/01/24
- Re: 4 week-old pretest bugs, Jan Djärv, 2007/01/25
- Re: 4 week-old pretest bugs, Richard Stallman, 2007/01/25
- Re: 4 week-old pretest bugs, Richard Stallman, 2007/01/25
- Re: 4 week-old pretest bugs, Jan Djärv, 2007/01/25
- Re: 4 week-old pretest bugs, Jan Djärv, 2007/01/09
- Re: 4 week-old pretest bugs,
Chris Moore <=