| Deutsch English Français Italiano |
|
<e0ef0cb70945d70d0a1e65f66dd5af4f@www.novabbs.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail From: josv@planet.nl (josv) Newsgroups: comp.lang.forth Subject: Re: PAD and preemptive multi-tasking Date: Sat, 21 Dec 2024 13:28:43 +0000 Organization: novaBBS Message-ID: <e0ef0cb70945d70d0a1e65f66dd5af4f@www.novabbs.com> References: <2024Dec20.111031@mips.complang.tuwien.ac.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="3949427"; mail-complaints-to="usenet@i2pn2.org"; posting-account="uBg8qRGNmGMwwM8MgDv8UEJIuJQ29qkAO/Yca1ID9p4"; User-Agent: Rocksolid Light X-Rslight-Posting-User: cc5e56b2fbc2db761f905374736421012c2539fc X-Rslight-Site: $2y$10$iGTsdjVTwuy3UxwEDolGp.JGlLzYV1M2gwor0HGFY3Lz/hd6Dm7Ia X-Spam-Checker-Version: SpamAssassin 4.0.0 Bytes: 1937 Lines: 30 On Fri, 20 Dec 2024 10:10:31 +0000, Anton Ertl wrote: > Bernd Paysan have been wondering what to do about PAD in the presence > of preemptive multitasking (but not multi-user) as implemented in > Gforth. > > We see two possible scenarios: > > If PAD is used only directly by the user for interactive work, only > one PAD is needed. > > OTOH, if PAD is used as temporary storage in words that may be called > by any task, PAD needs to be part of the per-task (aka USER) data. > > My understanding is that classical multi-tasking Forth systems > (polyForth, I guess) were also multi-user and had one dictionary per > task, so they also had one dictionary pointer and therefore one PAD > per task, but I have not worked with any of them and the descriptions > I have read have been very sketchy, so this could be wrong. > > In any case, the question is how PAD is used by current programs that > might be run on Gforth. > > - anton I use upad instead: maxcounted 1+ newuser upad Jos --