Bear in mind that threads and processes each introduce overhead. It is also necessary to stitch the results from the threads back together .... more overhead. Depending on the size of arrays...
Type: Posts; User: grumpy
Bear in mind that threads and processes each introduce overhead. It is also necessary to stitch the results from the threads back together .... more overhead. Depending on the size of arrays...
You're mistaken, whiteflags.
The fork() function does create a process, and the two run in parallel (or, at least, scheduled separately), although the parent CAN wait for the child. Some...