home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18156 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!jamie
  3. From: jamie@cdevil.unx.sas.com (James Cooper)
  4. Subject: Re: Problems with cback.o.. 100% background procs
  5. Originator: jamie@cdevil.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <C0DywK.69n@unx.sas.com>
  8. Date: Tue, 5 Jan 1993 14:57:56 GMT
  9. References:  <C0CrLq.5uD@usenet.ucs.indiana.edu>
  10. Nntp-Posting-Host: cdevil.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 20
  13.  
  14.  
  15. In article <C0CrLq.5uD@usenet.ucs.indiana.edu>, shulick@cineret.ucs.indiana.edu (Sam Hulick) writes:
  16. >
  17. >I tried to make a server (using a port, and WaitPort()) with cback.o so
  18. >all I'd have to type is "testd" instead of using "run <nil: >nil:
  19. >testd".  Well, it does background right away, but if I try to exit the
  20. >shell, it (the shell) hangs.  Why is this?
  21.  
  22. You have to take care of the _BackgroundIO vector one way or the other (this is
  23. documented), and you **must** compile with the (v5.10) -Li or (v6.0) NOSTDIO
  24. option to make sure you don't have a "stderr" open.  "stderr" is always just an
  25. "Open("*",MODE_OLDFILE);", so it will lock the shell.
  26.  
  27. -- 
  28. ---------------
  29. Jim Cooper
  30. (jamie@unx.sas.com)                             bix: jcooper
  31.  
  32. Any opinions expressed herein are mine (Mine, all mine!  Ha, ha, ha!),
  33. and not necessarily those of my employer.
  34.