|
From: | Jan D. |
Subject: | Re: Core dumps in redisplay. |
Date: | Mon, 28 Feb 2005 18:15:25 +0100 |
"Jan D." <address@hidden> writes:This sounds like normally only the main thread should ever be touchinginterrupt_input_blocked, unless we have a bug. Correct? So we need not think about how to synchronize accesses to the variable, but rather make sure that no thread except the main thread will ever run code touching it. Correct? A use of BLOCK_INPUT or UNBLOCK_INPUT outside of the main thread is a bug. Correct?Yes times three.xmalloc uses BLOCK_INPUT. BLOCK_INPUT is rather often used in alloc.c.
Yes, there is a check for main thread there also, see macros (UN)BLOCK_INPUT_ALLOC.
Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |