home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / apple2 / 25819 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.3 KB  |  56 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!alberta!cpsc.ucalgary.ca!debug!griffin!dockery
  3. From: dockery@griffin.cuc.ab.ca (Sean Dockery)
  4. Subject: re-entrant programs
  5. Message-ID: <BzIxqD.9Ln@griffin.cuc.ab.ca>
  6. Organization: Synchrotron Software Group, Calgary, Alberta
  7. Date: Sat, 19 Dec 1992 20:47:00 GMT
  8. Lines: 46
  9.  
  10. This is a repost of a message which (should have) appeared on
  11. comp.sys.apple2 a little while ago.  I received no responses to the
  12. message so I can only assume that it was lost in the internet.
  13.  
  14. ---repost starts---
  15.  
  16. I have often heard the term describing software to be "re-entrant."
  17. The context under which I have heard it most used was an opinion that
  18. the Apple IIgs tools and GS/OS would be easier to work with if they
  19. were re-entrant.
  20.  
  21. Would someone please enlighten me with the answers to the following:
  22.  
  23.     o What qualifies an application as re-entrant?
  24.     o What are some examples of re-entrant software?
  25.     o What are some advantages and disadvantages of an application
  26.        that is re-entrant?
  27.     o Are re-entrant applications significantly larger that
  28.        others that perform the same task?
  29.  
  30. Thankyou for your time.
  31.  
  32. ---repost ends---
  33.  
  34. I have managed to elicit responses from a few friends that a
  35. re-entrant program or routine ``makes no assumptions about the
  36. variables it uses,'' which I have interpreted to mean that a job can
  37. be interupted and resumed without any adverse effects by calling an
  38. specific entry point in the routine.  Is this correct?
  39.  
  40. If it is, doesn't that simply mean that a dispatcher should handle
  41. variable initialization and call the desired routine while direct
  42. calls to the routine (or an entry point therein) with variables
  43. predetermined (left untouched from a previous call) for that routine
  44. will just enable the routine to continue its unfinished task?
  45.  
  46. From reading comp.sys.apple2, I believe that Jawaid Bazyar and Dave
  47. Lyons appear to have a handle on what I want to know, and I would
  48. appreciate a response from either of you.
  49.  
  50. sean
  51. -- 
  52. # internet: dockery@griffin.cuc.ab.ca   | "alone.  death can't hold a candle
  53. #      -or- dockery@pro-calgary.cts.com |  to it, and hell is a poor synonym"
  54. # pro-line: dockery@pro-calgary         |                       -stephen king
  55. #     uucp: crash!pro-calgary!dockery   | disclaimer: i am unemployed
  56.