home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / std / unix / 413 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  6.9 KB

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