Mountain Lion

Martin Naef mnaef at navisto.ch
Sat Feb 18 21:02:35 CET 2012


Hi Peter

On 17.02.2012 21:48, Peter Korsten wrote:
> Calling the fork() function will duplicate the current process. You
> could use is to do some primitive kind of multi-tasking, although these
> days you'd use lightweight threads for that.

The paragraph above pretty much sums it up. Fork is an old concept from 
the days before multi-threading became the norm, and since multi-tasking 
is a bit younger in the Windows world compared to Unix, fork was never 
been considered necessary... CreateThread and CreateProcess are your 
friends - and then there are of course countless libs to wrap those two 
nicely.

Martin


More information about the music-bar mailing list