[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pretest next week
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Pretest next week |
Date: |
Sat, 07 Mar 2009 09:48:09 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Fri, 06 Mar 2009 10:01:38 +0900, YAMAMOTO Mitsuharu <address@hidden>
>>>>> said:
>> This causes a reentrant call to wait_reading_process_output, thence
>> a reentrant call to ns_select. I've added a check in the latter to
>> shortcircuit in the reentrant case.
> I'm anxious whether the former reentrance (i.e.,
> wait_reading_process_output) is safe.
Because wait_reading_process_output also calls timer_check, its
reentrance would probably be OK.
Still, I think Feval calls from read_socket_hook and (emulated) select
are really bad. Most developers assume that these functions (and some
higher-level ones such as detect_input_pending) don't call Feval, and
they may add some code without noticing that NS breaks such
assumptions.
YAMAMOTO Mitsuharu
address@hidden