bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25172: 26.0.50; Concurrency feature, sit-for doesn't work (crashing


From: Andreas Schwab
Subject: bug#25172: 26.0.50; Concurrency feature, sit-for doesn't work (crashing and unexpected behaviour)
Date: Sun, 11 Dec 2016 17:47:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.90 (gnu/linux)

On Dez 12 2016, Elias Mårtenson <lokedhs@gmail.com> wrote:

> Also, when the crash doesn't happen, and I keep pressing RET after running
> the above form, the insert will happen after much less than 5 seconds.
> Sometimes it happens almost immediately. It's like sit-for actually doesn't
> wait the correct number of seconds, but rather will just finish as soon as
> control is returned to the thread.

sit-for returns early if input is available.  Use sleep-for if you don't
want that.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]