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

  1. Submitted-by: donn@hpfcdc.fc.hp.com (Donn Terry)
  2.  
  3. To add to the qfork discussion:
  4.  
  5. 1) The purpose of qfork() is similar to that of vfork(), but detailed 
  6.    discussions end up showing that there really is nothing that is safe
  7.    to do between the qfork() and the exec() that will not cause problems
  8.    on some architecture or other.  That's the reason for the name change
  9.    from vfork().
  10.  
  11. 2) 1003.5 (Ada) has a entry point "start_process[_search]" which are
  12.    a spawn()-like animal that takes a data structure to tell it what to
  13.    do with file descriptors, user ID's and the like between the fork()
  14.    and exec() that underly it.  (In Ada, fork() + exec() is "unsafe";
  15.    "unsafe" is a dirty word in the Ada community.)
  16.  
  17.    This might be (observation of fact, not an opinion) a place to start
  18.    for something that does serve the fork(), do a few safe things, exec()
  19.    sequence.
  20.  
  21. Donn Terry
  22. Speaking only for myself.
  23.  
  24. Volume-Number: Volume 22, Number 56
  25.  
  26.