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,507 of 117,927   
   Paul Rubin to All   
   multitasking vs multiple interpreters   
   28 Jul 25 11:36:59   
   
   From: no.email@nospam.invalid   
      
   Question is how to multitask on a small embedded target.  One way is the   
   traditional cooperative multitasker with a shared dictionary plus task   
   variables.   
      
   Another way is time slicing multiple interpreters, each with its own   
   data dictionary (all variables are task variables).  There would be a   
   shared read-only dictionary for code and constants, and a mailbox scheme   
   for IPC.   
      
   This question is more about shared vs non-shared than cooperative vs   
   preemptive.  The latter would be Erlang-style preemptive, i.e. avoiding   
   most locking hazards by using mailboxes instead of memory sharing.   
      
   Does anyone do it this way?  Is the overhead substantial?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca