all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Queuing Emacs Lisp
@ 2022-10-22 10:04 Jean Louis
  2022-10-22 10:31 ` Emanuel Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Louis @ 2022-10-22 10:04 UTC (permalink / raw)
  To: Help GNU Emacs

Hello,

I need to queue Emacs Lisp functions for future execution, and in such
way that queue is not related to current instance. It means I can't
use `run-at-time' function or similar. I do not think that queue.el is
proper for that.

Does such package or concept in Emacs Lisp exists anywhere already?

If there is no such concept or package, I would then make PostgreSQL
table and record future Emacs Lisp functions, like "(my-function 1 2
3)", then read, execute, and mark as done.



Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Queuing Emacs Lisp
  2022-10-22 10:04 Queuing Emacs Lisp Jean Louis
@ 2022-10-22 10:31 ` Emanuel Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Emanuel Berg @ 2022-10-22 10:31 UTC (permalink / raw)
  To: help-gnu-emacs

Jean Louis wrote:

> I need to queue Emacs Lisp functions for future execution

But that would make Emacs an Operating System ...

No, you can schedule things with the idle timer, the so called
collaborative/cooperative model (I have forgotten which)
around the KERNEL thread, but this isn't exactly the POSIX PCB
model with supposedly optimal preemptive SJF scheduling,
actually it is the pretty much the opposite, right? But it's
something ...

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-22 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-22 10:04 Queuing Emacs Lisp Jean Louis
2022-10-22 10:31 ` Emanuel Berg

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.