home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.forth      Forth programmers eat a lot of Bratwurst      117,927 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 117,022 of 117,927   
   Ruvim to Anton Ertl   
   Re: PAD and preemptive multi-tasking   
   29 Jan 25 02:50:34   
   
   From: ruvim.pinka@gmail.com   
      
   On 2024-12-20 14:10, 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.   
   [...]   
   > In any case, the question is how PAD is used by current programs that   
   > might be run on Gforth.   
   >   
      
      
   I don't use PAD in multitasking/multithreaded applications, or even in   
   single-tasking applications. But only in interactive work, or for some   
   tests in the file loading time.   
      
   In SP-Forth/4, PAD is located in the user-area (per-task). But I don't   
   know examples of using it in different thread in parallel.   
      
      
   --   
   Ruvim   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca