help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: multithreading in Elisp?


From: David Kastrup
Subject: Re: multithreading in Elisp?
Date: 03 Jun 2003 15:19:45 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Florian von Savigny <florian265@uboot.com> writes:

> kai.grossjohann@gmx.net (Kai Großjohann) writes:
> 
> > You can do cooperative multitasking, MacOS-style, by using timers or
> > process filters or the like.  (MacOS means before X.)
> 
> Do you have an (arbitrary) code example at hand? My imagination does
> not reach far enough to implement commands that run in parallel by
> means of a process filter (maybe you mean "outsourcing" the task that
> is to run in the background with start-process?). I have no idea, on
> the other hand, what a timer is (it doesn't have to do with the diary,
> does it ... ?).
> 
> I would not really care whether the multitasking is preemptive or
> cooperative, as long as the possibility is there at all. What I would
> like to achieve is to have emacs retrieve some text from an external
> program and write it in a different buffer, while it still allows the
> user to edit his text.

Look up comint-mode in the Elisp manual.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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