Subject: Re: bug#25172: 26.0.50; Concurrency feature, sit-for doesn't work (crashing and unexpected behaviour)

From: Andreas Schwab <[email-masked]>
Date: Sun, 11 Dec 2016 17:47:31 +0100

On Dez 12 2016, Elias Mårtenson <[email-masked]> 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, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."