home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / std_unix / reports / 1988.12 / text0006.txt < prev    next >
Encoding:
Text File  |  1989-01-07  |  5.8 KB  |  149 lines

  1. [ These Standards Updates are published after each IEEE 1003
  2. meeting, and are commissioned by the USENIX Association.
  3. See Part 1 for contact information.  -mod ]
  4.  
  5.  
  6.       An update on UNIX|= Standards Activities - Part 7
  7.  
  8.                     POSIX 1003.5 Update
  9.  
  10.                      November 18, 1988
  11.  
  12.            Shane P. McCarron, NAPS International
  13.  
  14. 1003.5 - Ada Language Binding
  15.  
  16. This group is interesting.  They have now distributed draft
  17. 1 of their standard to the working group, but they are very
  18. close to finishing.
  19.  
  20. The primary goal of the P1003.5 working group is to produce
  21. an Ada language binding for the operating system services
  22. interface defined by the P1003.1 standard.  This work has
  23. progressed to the stage of circulating draft chapters within
  24. the group.  These chapters are to be reviewed at the next .5
  25. meeting (in January).
  26.  
  27. The last .5 meeting was 7-9 September 1988 in Minneapolis,
  28. Minnesota.  One of the issues discussed there was improving
  29. coordination with the rest of P1003.  The last two P1003
  30. meetings conflicted with major Ada meetings, so that .5
  31. chose to meet separately.  This has not been good for
  32. communication.  Fortunately, there are no major conflicts
  33. with the Fort Lauderdale meeting, and we will attempt to
  34. synchronize future meetings with the rest of the P1003
  35. working groups.
  36.  
  37. Major issues which were discussed at the September meeting
  38. included: (1) the relationship of Ada I/O and POSIX I/O, and
  39. how this relates to P1003.0; (2) (missing) support for Ada
  40. in the P1003.2 standard; (3) real-time features required by
  41. Ada, and whether P1003.4 will provide these; (4) changes to
  42. .1 between draft 12 and the final version that will require
  43. changes to the .5 draft chapters; (5) the relationship of
  44. Ada tasks to POSIX processes; (6) whether the organization
  45. of the P1003.5 document should mirror the .1 document.
  46.  
  47. One of the central problems they face is reconciling the
  48. relationship between Ada tasks and POSIX processes.  Unlike
  49. POSIX processes, Ada tasks share a common logical address
  50.  
  51. __________
  52.  
  53.   |= UNIX is a registered trademark of AT&T in the U.S. and
  54.     other countries.
  55.  
  56.  
  57.                            - 2 -
  58.  
  59. space.  If they map Ada tasks onto distinct POSIX processes,
  60. they need a way to share memory and file handles (opened
  61. after fork) between processes, which is not provided in .1.
  62. (Support for shared memory is on the .4 agenda, but the
  63. final form remains uncertain.)  Moreover, there are
  64. applications of Ada tasks that require task switching,
  65. creation, and termination to be performed much faster than
  66. may be possible for POSIX processes.
  67.  
  68. On the other hand, we might implement tasks as multiple
  69. threads of control within a process, but then they run into
  70. other problems.  Unfortunately, multiple threads of control
  71. within a process cannot be supported well without some
  72. cooperation from the OS.  For example, a blocking system
  73. call by one thread should not block other threads.  For
  74. another example, what happens when one task is in the middle
  75. of a system call and another one forks?  (For now, P1003.5
  76. agreed that Fork/Exec should be allowed, but that their
  77. effects in a multitasking Ada program are implementation
  78. dependent.)
  79.  
  80. The concept of POSIX support for "light-weight processes" is
  81. appealing.  The group will explore the applicability of such
  82. a solution.  In order to broaden the base of interest, we
  83. have agreed to sponsor a "Birds of a Feather" discussion on
  84. this issue at the Ft.  Lauderdale meeting.
  85.  
  86. Another major problem is reconciling POSIX signals with Ada
  87. semantics.  The .5 group has done some preliminary work on
  88. this.  The concept most closely corresponds to an
  89. asynchronous Ada exception, but this construct is of
  90. questionable legality.  The legal Ada mechanism appears to
  91. be entry calls, but this presents other problems.  Much work
  92. remains.
  93.  
  94. A third problem area is data representation, and character
  95. sets in particular.  POSIX already has problems with
  96. international character sets, arising from special uses of
  97. certain glyphs, and from an implicit assumption that
  98. characters are represented as bytes.  Ada makes this worse,
  99. since it specifies a very specific standard character set
  100. (ASCII).  The .5 group proposes to recognize POSIX
  101. characters (and strings) as distinct from the Ada versions,
  102. and to provide transfer functions for situations where one
  103. must be converted to the other.
  104.  
  105. Due to a comflict with the ACM Tri-Ada conference, 1003.5
  106. was not able to meet with the rest of the POSIX committees
  107. in Hawaii.  However, several individual members volunteered
  108. to attend as liaison with the other groups.  This will
  109. probably turn out to have been very helpful in resolving
  110.  
  111.  
  112.                            - 3 -
  113.  
  114. some questions about division of responsibility.  The
  115. Watchdog Committee contact met with both 1003.1 and 1003.4
  116. during the week.
  117.  
  118. It became clear during the 1003.1 meeting that but should
  119. move ahead boldly to create a true Ada interface.  Further,
  120. it appeared that due to Ada's strong typing requirements
  121. (required by ISO) than the present .1 standard, and might
  122. well influence the form of the future .1.
  123.  
  124. Meetings with the .4 revealed that support for Ada's real-
  125. time requirements might be provided by that group, but not
  126. necessarily in a suitable form or soon enough.  In
  127. particular, the subject of lightweight processes, which
  128. might be used to implement Ada tasks, is not on the .4
  129. agenda.  This leaves the subject open to be addressed by .5.
  130.  
  131. These, and observations by other .5 members serving as
  132. liaisons are likely to influence the direction of work when
  133. the group next gets together.
  134.  
  135. The Watchdog committee contact for 1003.5 is Ted Baker.  He
  136. can be reached at:
  137.  
  138.           Ted Baker
  139.           Department of Computer Science
  140.           Florida State University
  141.           Tallahassee, FL 32306
  142.           +1 904 644-5452
  143.           tbaker@ajpo.sei.cmu.edu
  144.           baker@nu.cs.fsu.edu
  145.  
  146.  
  147. Volume-Number: Volume 15, Number 43
  148.  
  149.