POV-Ray : Newsgroups : povray.off-topic : How do you run code in more than one core? : Re: How do you run code in more than one core? Server Time
28 Jul 2024 20:27:37 EDT (-0400)
  Re: How do you run code in more than one core?  
From: Le Forgeron
Date: 4 Nov 2012 03:03:08
Message: <5096213c$1@news.povray.org>
Le 04/11/2012 08:02, Warp nous fit lire :
> clipka <ano### [at] anonymousorg> wrote:
>> after that, it wakes up the APs
> 
> How?
> 
> (Also: After the other cores have been started and are running some idle
> process, waiting for tasks to be assigned to them, how do you assign tasks
> to them? IOW how do they detect that they should start running something?)
> 
Is that a general question or is it targeted to a specific architecture
? (like x86 or arm or ... even SoC)

The notion of process/tasks is something that is alien to a CPU/core. It
runs the next instruction or process some interruptions (by stacking the
current state and performing a change of PC).
The process/task concept is an illusion created by the scheduling code
of the OS.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.