emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Releasing the thread global_lock from the module API


From: tomas
Subject: Re: Releasing the thread global_lock from the module API
Date: Sun, 3 Mar 2024 07:25:29 +0100

On Sat, Mar 02, 2024 at 09:41:38PM +0000, sbaugh@catern.com wrote:
> tomas@tuxteam.de writes:

[safe suspend wrt. concurrency]

> > I don't think this is currently possible.
> 
> It is currently possible: this is what thread-yield, sleep-for, and
> accept-process-output do when run from a Lisp thread.  The thread pauses
> execution and other threads execute.  This has worked since the
> introduction of thread support.

Thanks for the correction.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]