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 2 of 5 Topic 1093 of 1114
Post > Topic >>

Re: Multi processing

by Marco van de Voort <marcov@[EMAIL PROTECTED] > Mar 11, 2008 at 11:50 AM

On 2008-03-11, Ruud.Baltissen@[EMAIL PROTECTED]
 <Ruud.Baltissen@[EMAIL PROTECTED]
> wrote:
> Just a question out of curiousity: is it possible to create program
> under TP that can make use of more then one CPU?

The long answer

Anything is possible under TP. TP just creates a stream of assembler
instructions to execute, and if you labour hard enough you can accomplish
a
lot. But since both TP and Dos hardly can do anything that modern systems
can, you will have to fill all the blanks yourself. 

Of course that means you will have to write a SMP safe threadlibrary with
a
SMP scheduler, and adapt the RTL to use that. That's where the problem
lies.
Dos provides nothing. So effectively it would be like creating your own
realtime OS system with a minimal dos emulation to run your TP programs.

The short answer:

See if you can find thread sup****t in an existing system that can run dos
binaries (e.g. Windows and Desqview X). Then you might be able to use that
scheduler

The ultra short answer:

start two dos binaries under Windows. Find some way to connect them
together
via IPC or sockets.
 




 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 Sun Jul 6 2:49:07 CDT 2008.