home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12787 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  695 b 

  1. Path: sparky!uunet!sun-barr!news2me.ebay.sun.com!exodus.Eng.Sun.COM!sun!amdcad!netcomsv!terapin!paulk
  2. From: paulk@terapin.com (Paul Kienitz)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: fork() for AmigaDOS?
  5. Message-ID: <paulk.1a06@terapin.com>
  6. Date: 27 Aug 92 21:00:59 GMT
  7. References: <1992Aug26.010450.18412@galileo.cc.rochester.edu>
  8. Organization: BBS
  9. Lines: 9
  10.  
  11. > Is there a AmigaDOS fork() that works like UNIX fork()?
  12. > Or is there a way to get a 'C' program to spawn a subroutine as a
  13. > child that runs concurently?
  14.  
  15. Under 2.x, it's CreateNewProcTags(NP_Entry, yourfunction, ...);
  16.  
  17. Under 1.x you have to create a fake SegList that points to your code
  18. and pass that to CreateProc.
  19.