home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!amgen!nuntius
- From: Michael Brennan <mikeb@sam.amgen.com>
- Subject: Re: Porting code using fork() to the Mac
- Message-ID: <1992Aug14.181503.3108@amgen.com>
- Sender: news@amgen.com
- Nntp-Posting-Host: swalker
- Organization: Amgen
- X-Useragent: Nuntius v1.1
- References: <503@owl.ukc.ac.uk>
- Date: Fri, 14 Aug 1992 18:15:03 GMT
- Lines: 17
-
- In article <503@owl.ukc.ac.uk> D.A.Turner, dat@ukc.ac.uk writes:
- >My C code uses *fork* quite a bit. Does anyone know of a C environment
- >for the Mac which supports fork() or provides some equivalent facility?
-
- Apple has released a "Threads" library on its developer CDs. It's use is
- documented
- in issue 6 of Develop. It has a calling syntax very similar to fork()
- and (from
- what I've been able to tell) appears to be quite robust.
-
- The library itself is an MPW .o file with no source available, but I was
- able
- to convert it to a Think C library using oConv with no difficulty. If
- you have
- access to Develop CDs or know anyone who does, I recommend getting ahold
- of the
- Threads library.
-