home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / misc / limprior.pro < prev    next >
Encoding:
Text File  |  1988-05-03  |  3.4 KB  |  71 lines

  1.  
  2. -------- SIMTEL20 Ada Software Repository Prologue ------------
  3. --                                                           -*
  4. -- Unit name    : LIMITED_PRIORITIZED_QUEUE
  5. -- Version      : 1.0
  6. -- Author       : John A. Anderson
  7. --              : TEXAS INSTRUMENTS MS 8006
  8. --              : P.O. BOX 801
  9. --              : MCKINNEY, TEXAS   75069
  10. -- DDN Address  : ANDERSON%TI-EG@CSNET-RELAY
  11. -- Copyright    : (c) 1984 John A. Anderson
  12. -- Date created :  OCTOBER  2, 1984
  13. -- Release date :  NOVEMBER 27, 1984
  14. -- Last update  :  ANDERSON Wed Nov 27, 1984
  15. -- Machine/System Compiled/Run on: DEC VAX/VMS, DEC Ada
  16. --                                                           -*
  17. ---------------------------------------------------------------
  18. --                                                           -*
  19. -- Keywords     :  QUEUE
  20. ----------------:  PRIORITIZED QUEUE
  21. --
  22. -- Abstract     :  This generic package creates a Prioritized
  23. ----------------:  Queue of a User-defined Limited number of
  24. ----------------:  objects.  The Queue is First-In, First-Out
  25. ----------------:  except where overridden by the priority.
  26. ----------------:  The priority may be any discrete type.
  27. ----------------:  It is assumed that the priorities are from
  28. ----------------:  lowest to highest.  The type of data structure
  29. ----------------:  to be instantiated for the queue may be any
  30. ----------------:  type having assignment and equality.  Other
  31. ----------------:  types may be enqueued by using access types.
  32. ----------------:  (i.e. Access variable pointing to a task.)
  33. --                                                           -*
  34. ------------------ Revision history ---------------------------
  35. --                                                           -*
  36. -- DATE         VERSION    AUTHOR                  HISTORY
  37. -- 11/27/84      1.0    Anderson        Initial Release
  38. --                                                           -*
  39. ------------------ Distribution and Copyright -----------------
  40. --                                                           -*
  41. -- This prologue must be included in all copies of this software.
  42. --
  43. -- This software is copyright by the author.
  44. --
  45. -- This software is released to the Ada community.
  46. -- This software is released to the Public Domain (note:
  47. --   software released to the Public Domain is not subject
  48. --   to copyright protection).
  49. -- Restrictions on use or distribution:  NONE
  50. --                                                           -*
  51. ------------------ Disclaimer ---------------------------------
  52. --                                                           -*
  53. -- This software and its documentation are provided "AS IS" and
  54. -- without any expressed or implied warranties whatsoever.
  55. -- No warranties as to performance, merchantability, or fitness
  56. -- for a particular purpose exist.
  57. --
  58. -- Because of the diversity of conditions and hardware under
  59. -- which this software may be used, no warranty of fitness for
  60. -- a particular purpose is offered.  The user is advised to
  61. -- test the software thoroughly before relying on it.  The user
  62. -- must assume the entire risk and liability of using this
  63. -- software.
  64. --
  65. -- In no event shall any person or organization of people be
  66. -- held responsible for any direct, indirect, consequential
  67. -- or inconsequential damages or lost profits.
  68. --                                                           -*
  69. -------------------END-PROLOGUE--------------------------------
  70.  
  71.