unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: "Elias Mårtenson" <lokedhs@gmail.com>
Cc: 25172@debbugs.gnu.org
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	[thread overview]
Message-ID: <87lgvmjtuk.fsf@linux-m68k.org> (raw)
In-Reply-To: <CADtN0WJYhUeYHy4MXp4aB1e1vCDqQQ-1ahpC3nNy5UERffGnzQ@mail.gmail.com> ("Elias Mårtenson"'s message of "Mon, 12 Dec 2016 00:35:34 +0800")

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	other threads:[~2016-12-11 16:47 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-11 16:35 bug#25172: 26.0.50; Concurrency feature, sit-for doesn't work (crashing and unexpected behaviour) Elias Mårtenson
2016-12-11 16:47 ` Andreas Schwab [this message]
2016-12-11 16:49   ` Elias Mårtenson
2016-12-11 17:54   ` Eli Zaretskii
2016-12-11 17:52 ` Eli Zaretskii
2016-12-11 19:05   ` Clément Pit--Claudel
2016-12-12  4:50     ` Elias Mårtenson
2016-12-12 17:37       ` Eli Zaretskii
2016-12-13  2:38         ` Elias Mårtenson
2016-12-13  3:40           ` Eli Zaretskii
2016-12-13  3:45             ` Elias Mårtenson
2016-12-13  4:11               ` Elias Mårtenson
2016-12-13  4:14                 ` Elias Mårtenson
2016-12-13  4:16                   ` Elias Mårtenson
2016-12-13 16:26                     ` Eli Zaretskii
2016-12-14  2:58                       ` Elias Mårtenson
2016-12-14  3:00                         ` Elias Mårtenson
2016-12-14  3:02                         ` Elias Mårtenson
2016-12-14 16:03                         ` Eli Zaretskii
2016-12-14 16:12                           ` Elias Mårtenson
2016-12-15  3:30                             ` Elias Mårtenson
2016-12-15 16:22                               ` Eli Zaretskii
2016-12-15 16:28                                 ` Elias Mårtenson
2016-12-15 16:59                                   ` Eli Zaretskii
2016-12-13 16:23                   ` Eli Zaretskii
2016-12-13 18:25                     ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lgvmjtuk.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=25172@debbugs.gnu.org \
    --cc=lokedhs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).