GNU bug report logs - #25172
26.0.50; Concurrency feature, sit-for doesn't work (crashing and unexpected behaviour)

Previous Next

Package: emacs;

Reported by: Elias Mårtenson <lokedhs <at> gmail.com>

Date: Sun, 11 Dec 2016 16:38:01 UTC

Severity: normal

Found in version 26.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 25172 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Elias Mårtenson <lokedhs <at> gmail.com>
Cc: 25172 <at> debbugs.gnu.org
Subject: Re: 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
On Dez 12 2016, Elias Mårtenson <lokedhs <at> 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 <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 8 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.