Sujet : Re: PAD and preemptive multi-tasking
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.lang.forthDate : 21. Dec 2024, 12:44:22
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2024Dec21.124422@mips.complang.tuwien.ac.at>
References : 1 2
User-Agent : xrn 10.11
Paul Rubin <
no.email@nospam.invalid> writes:
anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
In any case, the question is how PAD is used by current programs that
might be run on Gforth.
>
I thought the standard required PAD to be usable as random scratch
memory.
The standard does not specify multi-tasking.
So I'd expect Gforth to allocate one for each task.
My question is: How have you used PAD?
Gforth
systems aren't likely to suffer memory shortages from doing that.
Depends on the number of tasks. If PAD is not used in a way that
requires one PAD per task, it's better not to implement that.
- anton
-- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.htmlcomp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: https://forth-standard.org/ EuroForth 2024: https://euro.theforth.net