unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Christian Johansson <christian@cvj.se>
Cc: 37480@debbugs.gnu.org
Subject: bug#37480: 27.0.50; uncaught exception
Date: Mon, 23 Sep 2019 09:14:51 +0200	[thread overview]
Message-ID: <87pnjrmql0.fsf@gmx.de> (raw)
In-Reply-To: <06831c73-1a16-7e53-e872-f3fe97df534d@cvj.se> (Christian Johansson's message of "Mon, 23 Sep 2019 07:18:25 +0200")

Christian Johansson <christian@cvj.se> writes:

> Hi

Hi Christian,

> Alright, I didn't know about that function. Can you give an example of
> how to use it?

See .../test/src/thread-tests.el, function threads-errors.

> I would be interested in exploring how to signal the main thread from
> the created thread, where can I read more about that?

thread-signal does NOT raise an error if the target thread is the main
thread. You see just the message.

See .../test/src/thread-tests.el, function threads-signal-main-thread.

If you want a signal to be propagated to the main thread, you must
organise differently. For example checking thread-last-error, when the
main thread gets control.

> Hälsningar / Best Regards
> Christian

Best regards, Michael.





  reply	other threads:[~2019-09-23  7:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-22 14:00 bug#37480: 27.0.50; uncaught exception Christian Johansson
2019-09-22 14:50 ` Eli Zaretskii
2019-09-22 15:26   ` Christian Johansson
2019-09-22 15:39     ` Eli Zaretskii
2019-09-23  5:18       ` Christian Johansson
2019-09-23  7:14         ` Michael Albinus [this message]
2019-09-23 16:37         ` Eli Zaretskii
2019-09-24  3:16           ` Christian Johansson
2019-09-22 16:53     ` Michael Albinus
2019-11-07  4:25       ` Stefan Kangas

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=87pnjrmql0.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=37480@debbugs.gnu.org \
    --cc=christian@cvj.se \
    /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).