home bbs files messages ]

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

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

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

   Message 2,630 of 2,978   
   Marco van de Voort to Ruud.Baltissen@apg.nl   
   Re: Multi processing   
   14 Mar 08 12:34:46   
   
   c27e5342   
   From: marcov@stack.nl   
      
   On 2008-03-14, Ruud.Baltissen@apg.nl  wrote:   
   >   
   >> start two dos binaries under Windows. Find some way to connect   
   >> them together via IPC or sockets.   
   >   
   > Thank you for answering. If I understand things correctly, you are   
   > telling that I have two write two programs and then to find a way to   
   > connect them in some way. So I can forget about writing only _one_ PAS-   
   > file that tells _two_ CPU's what to do.   
      
   Yes, that there is nothing that can schedule the relevant threads. In theory   
   one could try to hack a complete OS in your dos binary (threading support,   
   scheduler support etc), but that is not writing an application, that is   
   implementing a complete OS in your app, with the usual problems.   
      
   If you really must have that, there are four options, in decreasing order of   
   use/work ratio.   
   - choose a compiler and OS from this millenium.   
   - If you have BP7, try to redress your program as a "windows 3.x" program   
   using BPW, and see if that can somehow access threads. If so, you have a   
   small chance they are mapped to different CPUs.   
   - Ask on a FreeDOS list how to use multiple cores in 16-bits binaries.   
   - Implement a complete SMP threading library + scheudler in your binary.   
      
   --- 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