home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / programm / 13272 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.7 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!smurf.sub.org!incom!orfeo!hotb.sub.org!mania.hotb.sub.org!mania!lkv
  2. From: lkv@mania.hotb.sub.org (Lutz Vieweg)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: OS/2 vs. AmigaOS
  5. Message-ID: <wXJEr*iX1@mania.hotb.sub.org>
  6. Date: Thu, 10 Sep 1992 09:05:20 GMT
  7. References: <1992Aug28.175748.42640@kuhub.cc.ukans.edu> <1992Aug29.003212.13913@endicor.com>
  8.  <1992Aug31.033347.17131@marlin.jcu.edu.au> <1992Aug31.042231.395@endicor.com>
  9.  <BtuypA.5zq@gpu.utcs.utoronto.ca>
  10. Organization: The Funny Farm
  11. X-Newsreader: Arn V1.00 alpha rel3
  12. Lines: 25
  13.  
  14. In article <BtuypA.5zq@gpu.utcs.utoronto.ca>, Ben Eng writes:
  15.  
  16. > Every unix hacker wishes for an equivalent to fork() on the amiga,
  17. > but we'll never see it.  Wild's ixem library offers a vfork(),
  18. > I believe.  I wonder just how usable that vfork() is in real
  19. > life.  What are it's limitations (there must be some)?
  20.  
  21. Well, I use vfork() to start the child-process in my bidirectional
  22. file- and chat-tranfer protocol TWC, and since a few bugs have
  23. been removed, this is no pain at all. The only problem I ran into
  24. was that I cannot use static member objects of classes from
  25. both the parent and the child process; it seems that something
  26. is destructed twice when I try to do so... but this is easy to
  27. avoid, and it's really nice to use vfork() and _exit() instead
  28. of calling all that tricky system routines yourself.. :)
  29.  
  30. cu, Lutz Vieweg
  31.  
  32. PS: I use your bmake for the amiga - is there a more recent version
  33.     than 1.4 {Wuth/1}?
  34.  
  35. PPS: If anyone is interested in beta-testing TWC, you may get it
  36.      via FTP from ftp.Informatik.Uni-Oldenburg.DE, directory
  37.      /pub/incoming/amiga/comm, name TWC109beta.lha
  38.  
  39.