home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14039 < prev    next >
Encoding:
Text File  |  1992-08-15  |  1.1 KB  |  31 lines

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