in reply to Re: Parallel Processing on win10
in thread Parallel Processing on win10

a situation where I would want my program to duplicate itself in memory and start doing the exact same thing twice ... I don't see why it's necessary or useful

The point of fork is not really for the parent and child to do the exact same thing. If you look at its documentation, you'll see that the parent and child get different return values, allowing them to follow different code paths. Typically, the parent will fork multiple children and then manage them, while the children will be doing various tasks. This scheme is widely used in many web servers, see e.g. preforking server. For just two examples of many in Perl, see Parallel::ForkManager and Net::Server.