Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ames!dftsrv!oneel From: oneel@heawk1.gsfc.nasa.gov ( Bruce Oneel ) Newsgroups: comp.lang.pascal Subject: Re: Does TP for Windows support a "fork" call? Message-ID: Date: 24 May 91 12:55:28 GMT References: <1991May24.073620.16606@minyos.xx.rmit.oz.au> Sender: news@dftsrv.gsfc.nasa.gov Distribution: comp.lang.pascal Organization: STX/GSFC Nasa Lines: 29 In-reply-to: rxcob@minyos.xx.rmit.oz.au's message of 24 May 91 07:36:20 GMT In article <1991May24.073620.16606@minyos.xx.rmit.oz.au> rxcob@minyos.xx.rmit.oz.au (Owen Baker) writes: Does anyone know if Turbo Pascal for Windows supports a Unix like fork() call to spawn child processes as per real multitasking OS's or have I lost the plot somewhere!? Nothing like commenting about something you only know a little (nothing!) about... I just purchased TPW but have been working a few months with BC++. fork() for the non unix people, basically creates a child process running exactly the code you are currently running, which normally you overlay (replace as it were) with another executable. To my understanding, windows is (coorperative) multi-tasking and you start another program with win-exec (spelling may be wrong). So, short answer, no. Long answer, you can do what you need without fork in windows, as long as you make sure that your program does something which causes windows to get control once in a while. bruce p.s. postings early in the morning after about 2 hrs of sleep are always suspect! -- Bruce O'Neel oneel@heasfs.gsfc.nasa.gov NASA/GSFC/STX/Code 664