home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.29 / text0023.txt < prev    next >
Encoding:
Text File  |  1992-12-26  |  7.0 KB  |  143 lines

  1. Submitted-by: pc@hillside.co.uk (Peter Collinson)
  2.  
  3. USENIX Standards Watchdog Committee
  4. Stephen R. Walli <stephe@usenix.org>, Report Editor
  5. POSIX.5: Ada Bindings to POSIX
  6.  
  7.  
  8. Del Swanson <dswanson@email.sp.unisys.com> reports on the July 13-17,
  9. 1992 meeting in Chicago, IL :
  10.  
  11. The POSIX.5 group has been working to produce Ada language bindings to
  12. POSIX standards.  As of June, 1992, the IEEE Standards Committee has
  13. approved the Ada binding to POSIX.1 as a standard, designated
  14. POSIX.5.  It should be published as an IEEE standard by the end of the
  15. year.  Congratulations all around to the working group, the ballot
  16. resolution committee, the balloters, and all the supporting employers,
  17. spouses, lovers, etc.
  18.  
  19. At this time, it is not expected that this document will become an ISO
  20. standard, because of its format and derivation.  POSIX.5 is a
  21. ``thick'' binding: it can be read by itself, since it duplicates the
  22. descriptions of all the functions, in addition to describing how they
  23. relate to the Ada language.  And POSIX.5 is derived from the POSIX.1 C
  24. binding, since no Language Independent Specification (LIS) yet
  25. exists.  ISO requires that language bindings be ``thin,'' not
  26. duplicating any information present in the base document, and that
  27. they be bindings to an LIS.
  28.  
  29. TCOS-SS (the IEEE committee responsible for all POSIX standards) had
  30. previously agreed that POSIX.5 could be approved as an IEEE standard
  31. in its current form. It would not be submitted for ISO
  32. standardization.  A new version of the standard (which will then be
  33. submitted for ISO standardization) will be produced after the LIS is
  34. approved, and after the revision of the Ada language, now expected to
  35. be finalized in 1994.
  36.  
  37. Meanwhile, there has been a reaction from the European community, and
  38. from members of ISO Working Group 9 (on Ada) that there should be an
  39. Ada binding of POSIX officially sanctioned by ISO.  At the July POSIX
  40. meetings, therefore, we recommended to TCOS-SS that it recommend to
  41. ISO Working Group 15 (ISO POSIX) that POSIX.5 be approved as an ISO
  42. ``Committee Document.''
  43.  
  44. Now that the IEEE standard has been approved, it is incumbent upon the
  45. group to resolve interpretation questions.  Officially, this involves
  46. the formation of an interpretation committee (on which nearly the
  47. entire group sits).  The intent is to explain interfaces, elaborate
  48. semantic descriptions, and define the implications of problematic
  49. interface specifications.  About ten interpretation requests have been
  50. received to this point.  The TCOS approach is that this interpretation
  51. group adds nothing normative to the standard, even by logical
  52. extension.  Any such specifications must be done by balloted revisions
  53. to the document.
  54.  
  55. The major current activity of the group is the development of bindings
  56. to the Real-Time Extensions standards being developed by the POSIX.4
  57. group.  The binding to POSIX.4 will be relatively straightforward.
  58. This is especially true since a draft thin binding to POSIX.4 has been
  59. prepared by one of our members at Florida State University with
  60. financing from the U.S. Army.
  61.  
  62. This draft has now been updated a couple of times by the group, and is
  63. ready to be massaged into IEEE format, with a few changes reflecting
  64. the latest POSIX.4 draft.  This POSIX.20 draft 1 is planned to be
  65. circulated for mock ballot after the October meetings.  Our goal is to
  66. have POSIX.20 approved as a standard hard on the heels of POSIX.4 LIS.
  67.  
  68. This schedule is somewhat of a change from our previous assumption
  69. that we would produce a unified binding to POSIX.4 and POSIX.4a
  70. (threads extensions).  Our current direction is to proceed directly
  71. with balloting the binding to POSIX.4, and work concurrently on the
  72. binding to POSIX.4a.  The advantages are that this reflects the
  73. document structure of the POSIX.4 group, that this approach will fill
  74. the needs of some users sooner, and that the approval of the POSIX.4a
  75. standard is likely to be significantly later than POSIX.4.
  76.  
  77. Meanwhile, we have also agreed to assist in the production of the
  78. POSIX.4 LIS.  The new technical editor of this document has been a
  79. joint member of the POSIX.4 and the POSIX.5 groups.  The members of
  80. the POSIX.5 group are committed to help him and the POSIX.4 group to
  81. produce the LIS as quickly as possible.
  82.  
  83. The production of a binding to POSIX.4a is going to be significantly
  84. more complex, because of the interplay of two separate modes of
  85. intra-process concurrency, Ada tasks and POSIX threads.  Complicating
  86. the issues is a difference of philosophy among members of the group,
  87. which is probably reflective of the community at large.
  88.  
  89. A key question that differentiates the philosophies: should operating
  90. system functions be visible in a binding if the language itself
  91. provides parallel functionality?  Several other issues ensue.  Should
  92. functions be visible that, if called directly, may interfere with the
  93. assumptions and operations of the language support library?  Would it
  94. be acceptable to isolate such functions to emphasize their danger?  Is
  95. it adequate (or acceptable) to assume that Ada compilers will allow
  96. calling such functions via language interface conventions?
  97.  
  98. One of the greatest technical challenges to the POSIX.4a binding is to
  99. determine the implications of interactions among processes in a
  100. multi-language environment.  The feasibility of mapping tasks to
  101. threads is being demonstrated in prototype implementations.  But some
  102. potential conflicts caused by the interactions of the two entities are
  103. becoming apparent.
  104.  
  105. We are assuming that these conflicts must be resolved, since at a
  106. minimum Ada programs will want to make use of libraries written in C,
  107. such as GUI and DBMS packages.  We are starting to catalog such
  108. potential conflicts, which revolve around the creation and destruction
  109. of threads/tasks, parent-child relations of threads/tasks, and the
  110. handling of exceptional conditions.  We have barely begun the
  111. resolution process.
  112.  
  113. Meanwhile, members of our group are involved with two efforts that are
  114. prototyping implementations of Ada bindings to the Real-Time
  115. Extensions (including threads).  As it happens, this is not only being
  116. valuable input to our effort, but a few problems have been found with
  117. the base document drafts, that have been passed on to POSIX.4.
  118.  
  119. In preparation for the next meeting, we have volunteers to analyze
  120. issues with task/thread interactions, and to propose directions and
  121. bindings to synchronization and scheduling functions.  We hope for
  122. significant progress on these issues, as well as completing
  123. preparations for the mock ballot.
  124.  
  125. Volume-Number: Volume 29, Number 25
  126.  
  127. Utrecht meeting on
  128. October 22nd, 23rd (just before the next WG15 meeting).
  129.  
  130. Test Methods
  131.  
  132. POSIX.3.2 Test Method work is progressing well, with almost all of the
  133. assertions corresponding to the current draft of POSIX.2.  The group
  134. expects to go to ballot sometime around October.
  135.  
  136. Work on the UPUO test methods also progressed, with only a few gaps
  137. remaining.  The daunting vi command still strikes fear in some that
  138. would approach it, and has not yet been addressed.  This will be
  139. worked on at the Utrecht meeting.
  140.  
  141. Volume-Number: Volume 29, Number 24
  142.  
  143.