home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.22 / text0060.txt < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.6 KB  |  43 lines

  1. Submitted-by: loren@Eng.Sun.COM (Loren L. Hart)
  2.  
  3. In article <16478@cs.utexas.edu> guido@cwi.nl (Guido van Rossum) writes:
  4. >Submitted-by: guido@cwi.nl (Guido van Rossum)
  5. >
  6. >peter@ficc.ferranti.com (Peter da Silva) writes:
  7. >
  8. >>Yes, fork() is a cleaner method of creating new processes. Yes, it takes
  9. >>a fairly complex calling sequence to get spawn() to have anything like
  10. >>the functionality of fork()...exec(). But I think it'd be worthwhile to
  11. >>let a little heresy in in exchange for making POSIX more palatable to
  12. >>folks in poorer environments.
  13. >
  14. >I know of precedents even in OS'es that support fork(): Amoeba and
  15. >Topaz support a variant of what you call spawn().  (Note that the
  16. >spawn() functions found in Microsoft C for MS-DOS emulate either just
  17. >exec() or fork()+exec()+wait(), which is much less powerful, but
  18. >all that MS-DOS can support (last time I looked).)
  19.  
  20. The Ada POSIX Draft currently has some sort of spawn command, since
  21. fork is not necessicarily safe with respect to Ada Tasks.  I don't rember
  22. the specific routine, but it is likely to go through some change before
  23. the Ada version of the standard is finalized.  I would hope that this 
  24. spawn capability will be merged back into the 1003.1 standard at some
  25. point in the future.
  26.  
  27. ------------------------------------------------------------
  28. Mr. Loren L. Hart
  29. The Ada Ace Group, Inc.
  30. PO Box 36195
  31. San Jose, CA  95158
  32. loren@cup.portal.com
  33.  
  34. --
  35. -----------------------------------------------------------------------------
  36. Loren L. Hart            The Ada Ace Group, Inc
  37. loren@cup.portal.com        P.O. Box 36195
  38.                 San Jose, CA  95158
  39.  
  40.  
  41. Volume-Number: Volume 22, Number 62
  42.  
  43.