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.


|