![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thorsten Froehlich <tho### [at] trf de> wrote:
: The second CPU is not used at all if the an application does not use the
: so-called "Multiprocessing API" to create multiple threads.
A more important issue would be if the OS can distribute several different
programs among the processors. That is, if I run two CPU-intensive programs,
does the OS run one of the with one processor and the other program in the
other processor?
I think that's the most usual use of multitasking.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <39900888@news.povray.org> , Warp <war### [at] tag povray org> wrote:
> A more important issue would be if the OS can distribute several different
> programs among the processors. That is, if I run two CPU-intensive programs,
> does the OS run one of the with one processor and the other program in the
> other processor?
> I think that's the most usual use of multitasking.
If multiple applications support multiprocessing this will be the case
(pre-emptive multithreading on Mac OS requires a specific API to create the
pre-emptive threads). Also, if only one application supports it, it can use
the entire second processor while the other traditional applications share
one processor.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thorsten Froehlich <tho### [at] trf de> wrote:
: If multiple applications support multiprocessing this will be the case
: (pre-emptive multithreading on Mac OS requires a specific API to create the
: pre-emptive threads). Also, if only one application supports it, it can use
: the entire second processor while the other traditional applications share
: one processor.
So you mean that if you run just regular programs, which do not support
multiprocessing, the OS will be unable to distribute them among the processors
but they will all be run in the same processor?
Doesn't sound funny.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |