Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Borland > Re: Multi proce...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 1093 of 1118
Post > Topic >>

Re: Multi processing

by Marco van de Voort <marcov@[EMAIL PROTECTED] > Mar 14, 2008 at 12:34 PM

On 2008-03-14, Ruud.Baltissen@[EMAIL PROTECTED]
 <Ruud.Baltissen@[EMAIL PROTECTED]
> 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 sup****t,
scheduler sup****t 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.
 




 5 Posts in Topic:
Multi processing
Ruud.Baltissen@[EMAIL PRO  2008-03-11 04:11:50 
Re: Multi processing
Marco van de Voort <ma  2008-03-11 11:50:15 
Re: Multi processing
Ruud.Baltissen@[EMAIL PRO  2008-03-14 04:42:08 
Re: Multi processing
Marco van de Voort <ma  2008-03-14 12:34:46 
Re: Multi processing
Dr J R Stockton <jrs@[  2008-03-14 19:52:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 23 15:47:24 CDT 2008.