home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / MAILBOX.ZIP / MPRES.MAN < prev    next >
Encoding:
Text File  |  1988-04-01  |  1.9 KB  |  86 lines

  1. MPRES(3C)        "MP-UNIX" Programmer's Manual        MPRES(3C)
  2.  
  3.  
  4.  
  5. NAME
  6.     mpres - cluster for managing resources in a multitasking environment
  7.  
  8.  
  9. SYNOPSIS
  10.     #include "mpres.h"    /* (also link in mpres libarary) */
  11.  
  12.     typedef    MPBOX        MPRES, PTR MPRESID;    /* A Resource */
  13.     typedef struct _MPSOR    MPSOR, PTR MPSORID;    /* A Source of a || */
  14.  
  15.     MPTSKID        mpres_setup(VOIDPTR buf, UINT size, BOOL preemptive);
  16.     void        _mpres_setup();
  17.  
  18.     MPSORID        mpsor_init(VOIDPTR buf, MPRESID mpres);
  19.     VOIDPTR        mpsor_dinit(MPSORID mpsor);
  20.  
  21.     MPSORID        mpres_take(MPRESID mpres);
  22.     MPSORID        mpres_give(MPRESID mpres);
  23.  
  24.  
  25. DESCRIPTION
  26.  
  27. /* TO BE COMPLETED */
  28.  
  29.     mpres_memory
  30.     mpres_stdin
  31.     mpres_stdout
  32.     mpres_stderr
  33.  
  34.     mpres_terminalin
  35.     mpres_terminalout
  36.     mpres_filesystem
  37.     mpres_network
  38.  
  39.     mpres_harddisk
  40.     mpres_floppydisk
  41.     mpres_printer
  42.     mpres_modem
  43.     mpres_parallel
  44.     mpres_serial
  45.  
  46.  
  47. RETURN VALUES & ERRORS
  48.  
  49. /* TO BE COMPLETED */
  50.  
  51. NOTES
  52.  
  53. /* TO BE COMPLETED */
  54.  
  55. The multitasking interface is also designed to be portable.  Using the same
  56. interface, similar functionality can be obtained with most stack-based
  57. languages.
  58.  
  59.  
  60. AVAILABILITY & BUGS
  61.  
  62. The mpthd cluster will be implemented tested under MS-DOS (Turbo C) and UNIX
  63. BSD 4.3 (IBM RT, DEC VAX).  It may be easily ported to other machines & op.
  64. systems.
  65.  
  66.  
  67. SEE ALSO
  68.     mptsk(3C) and the mpres*.* files.
  69.  
  70.     "Building a Portable Multitasking Environment in "C":
  71.         found in the file mptsk.tex
  72.  
  73. AUTHOR
  74.  
  75. Copyright (C) 1988 Michael Benjamin Parker        (USA SS# 557-49-4130)
  76.  
  77. This interface, code, and documentation may be freely distributed *at no cost*
  78. provided the copyright notices are preserved and modifications are forwarded
  79. to the author (for inclusion in future releases).  All other rights reserved.
  80.  
  81. mbparker@ATHENA.MIT.EDU / 721 E Walnut, Orange, CA  92667-6833 / 714-639-9497
  82.  
  83.  
  84. Created: 4/1/88            Release: 0.5        Version: 4/1/88
  85.  
  86.