[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Power: blink-cursor-mode is a pig
From: |
Eli Zaretskii |
Subject: |
Re: Power: blink-cursor-mode is a pig |
Date: |
Sat, 31 Dec 2011 09:10:30 +0200 |
> From: YAMAMOTO Mitsuharu <address@hidden>
> Date: Sat, 31 Dec 2011 12:47:19 +0900
> Cc: address@hidden,
> address@hidden
>
> BTW, stopping/suspending timers does not avoid Emacs to wake up
> in a short period on some ports, depending on how its `select'
> emulation is implemented. At least, this applies to the NS port
> because it does periodic polling inside its `select'
> implementation when there are some subprocesses or network
> connections. The Mac port does not have this drawback. I'm not
> sure about the W32 port.
If my reading of w32proc.c is correct, the w32 port blocks inside the
call to WaitForMultipleObjects for the same time interval as the
timeout specified in the call to `select' (redirected to `sys_select'
on w32). But this only blocks the main thread, the one that runs
Lisp; the input thread that processes messages delivered to the Emacs
frames cannot be blocked (doing so could cause deadlock to the entire
system), so it continues running and processing messages.
- Re: Power: blink-cursor-mode is a pig, (continued)
- Re: Power: blink-cursor-mode is a pig, Eli Zaretskii, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Lennart Borgman, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Daniel Colascione, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, 山本 光晴, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Eli Zaretskii, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, YAMAMOTO Mitsuharu, 2011/12/30
- Re: Power: blink-cursor-mode is a pig,
Eli Zaretskii <=
- Re: Power: blink-cursor-mode is a pig, Daniel Colascione, 2011/12/31
- Re: Power: blink-cursor-mode is a pig, YAMAMOTO Mitsuharu, 2011/12/31
- Re: Power: blink-cursor-mode is a pig, Jan Djärv, 2011/12/31
- Re: Power: blink-cursor-mode is a pig, Eli Zaretskii, 2011/12/31
Re: Power: blink-cursor-mode is a pig, David De La Harpe Golden, 2011/12/30
Re: Power: blink-cursor-mode is a pig, Thien-Thi Nguyen, 2011/12/30
Re: Power: blink-cursor-mode is a pig, Chong Yidong, 2011/12/31