all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: making software with Emacs and Elisp
Date: Fri, 25 Oct 2013 00:24:29 +0200	[thread overview]
Message-ID: <8761smgvd5.fsf@nl106-137-194.student.uu.se> (raw)
In-Reply-To: 878uxifhwu.fsf@informatimago.com

"Pascal J. Bourguignon" <pjb@informatimago.com> writes:

> If you want to run processes in the outer system you
> can call start-process amongst a few other functions.

No, I meant "Emacs processes" but you answered that with
`run-with-idle-timer', I guess.

> But you can have code scheduled to run in emacs.  It
> is not a preemptive system, but a collaborative one,
> where each task must release the CPU quickly enough
> for the rest of the system to stay responsive.  But a
> lot of tasks are scheduled this way in emacs
> (eg. background font-locking, semantic incremental
> parses, etc). See: run-with-idle-timer

OK, so there is one *main* Emacs process running, that
might turn *idle*, I guess if you don't do anything, and
when that happens, some Emacs arbitrator looks in a pool
of background tasks that would be beneficial if they
were run, and then runs them, and then when you start to
do something again, the main Emacs process does *not*
preempt those background tasks, instead they are run to
completion, and it is assumed you (the user) won't
notice, as they should be so fast anyway?

-- 
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united:  http://user.it.uu.se/~embe8573


  reply	other threads:[~2013-10-24 22:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-20  0:17 making software with Emacs and Elisp Emanuel Berg
2013-10-20  1:42 ` Pascal J. Bourguignon
2013-10-20  1:36   ` Emanuel Berg
2013-10-20  9:15 ` Marcin Borkowski
2013-10-20 12:40   ` Pascal J. Bourguignon
     [not found] ` <mailman.4335.1382260532.10748.help-gnu-emacs@gnu.org>
2013-10-22 23:00   ` Emanuel Berg
2013-10-22 23:29     ` Marcin Borkowski
2013-10-23  0:36     ` Pascal J. Bourguignon
     [not found]     ` <mailman.4507.1382488595.10748.help-gnu-emacs@gnu.org>
2013-10-24 19:57       ` Emanuel Berg
2013-10-24 22:00         ` Pascal J. Bourguignon
2013-10-24 22:24           ` Emanuel Berg [this message]
2013-10-24 22:34             ` Pascal J. Bourguignon
     [not found]             ` <mailman.4647.1382654123.10748.help-gnu-emacs@gnu.org>
2013-10-24 22:43               ` Emanuel Berg
2013-10-25 19:11                 ` Pascal J. Bourguignon
  -- strict thread matches above, loose matches on Subject: below --
2013-10-20  1:00 Barry OReilly
     [not found] <mailman.4327.1382230827.10748.help-gnu-emacs@gnu.org>
2013-10-20  1:12 ` Emanuel Berg
2013-10-20  1:51   ` Pascal J. Bourguignon

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=8761smgvd5.fsf@nl106-137-194.student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /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.