From: Alan Third <alan@idiocy.org>
To: Po Lu <luangruo@yahoo.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: NS port thread problems
Date: Sat, 23 Oct 2021 11:27:45 +0100 [thread overview]
Message-ID: <YXPjoc1lThpqJD6U@idiocy.org> (raw)
In-Reply-To: <8735ov8bbe.fsf@yahoo.com>
On Thu, Oct 21, 2021 at 08:35:01AM +0800, Po Lu wrote:
> Alan Third <alan@idiocy.org> writes:
>
> > One solution would be to use Objective C "blocks" to run the code in
> > the main thread, but GCC doesn't support them, so that's out.
>
> I'm aware of this feature, but I don't understand how it will allow for
> running code in the main thread.
You can send a block off to run in another thread. Look up
dispatch_sync and friends.
--
Alan Third
prev parent reply other threads:[~2021-10-23 10:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-29 11:27 bug#39343: 27.0.50; Thrad signal crashes Emacs with sgmentation fault Christian Johansson
2020-01-29 20:42 ` Alan Third
2020-01-29 21:05 ` Christian Johansson
2021-10-20 3:05 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-20 20:43 ` NS port thread problems Alan Third
2021-10-21 0:35 ` Po Lu
2021-10-23 10:27 ` Alan Third [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YXPjoc1lThpqJD6U@idiocy.org \
--to=alan@idiocy.org \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.