BernieC has asked for the wisdom of the Perl Monks concerning the following question:
The fork() emulation is implemented at the level of the Perl interpreter. What this means in general is that running fork() will actually clone the running interpreter and all its state, and run the cloned interpreter in a separate thread, beginning execution in the new thread just after the point where the fork() was called in the parent. We will refer to the thread that implements this child "process" as the pseudo-process.I'm not sure what "separate thread" means. I have a six processor win10 system and I have a very CPU intensive program that I can easily carve into parallel processes. If I just fork() them, will these process be able to run in parallel on separate processors?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Parallel Processing on win10
by marioroy (Prior) on May 12, 2023 at 18:56 UTC | |
Re: Parallel Processing on win10
by eyepopslikeamosquito (Archbishop) on May 12, 2023 at 23:15 UTC | |
Re: Parallel Processing on win10
by ikegami (Patriarch) on May 14, 2023 at 15:49 UTC | |
Re: Parallel Processing on win10
by eyepopslikeamosquito (Archbishop) on May 14, 2023 at 00:18 UTC | |
Re: Parallel Processing on win10
by harangzsolt33 (Deacon) on May 13, 2023 at 03:21 UTC | |
by haukex (Archbishop) on May 13, 2023 at 07:05 UTC | |
by karlgoethebier (Abbot) on May 14, 2023 at 08:45 UTC |