home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: nick@usenix.org (Nicholas M. Stoughton)
-
- USENIX Standards Report Editor
-
- Nicholas M. Stoughton <nick@usenix.org>, Report Editor
-
-
- POSIX.5: ADA Bindings
-
-
- My Delbert L. Swanson <DSWANSON@mhs.sp.paramax.com> reports
- on the January 10-14, 1994 meeting in Irvine, Ca.:
-
- The primary charter of the POSIX.5 group is to produce Ada
- language bindings to POSIX standards. The Ada binding for
- POSIX.1, POSIX.5, has been published as an IEEE standard,
- and we are now preparing bindings to the Real-Time
- Extensions standards being developed by the POSIX.4 group.
- These bindings have been designated as POSIX.20.
-
- Draft 2 was developed as a ``thin'' binding to the Real-Time
- Extensions. That is, it merely made a correlation between
- the constructs defined in the C version and the constructs
- in the Ada version. None of the explanations or semantics
- are repeated. This was done following on what was at that
- time the policy of IEEE and the ISO community that all
- language bindings would be thin bindings of a normative
- language independent specification (LIS) of the standard.
- Actually, our approach was even then a compromise, since
- there was not yet a LIS version completed.
-
- This draft was circulated for a first ballot last summer,
- and the document was updated to account for comments and
- objections. Meanwhile, the policy on thin bindings to LIS
- versions of standards has changed, and so the group has been
- revising the document in accord with our preferred approach
- to begin with.
-
- The next draft will be a thick binding. That is, it will be
- a complete specification of the interfaces for Ada
- applications. The advantage is that users will not need to
- refer to multiple documents (Ada and C) to understand the
- behavior of the Ada interfaces. The disadvantage is in the
- maintenance mode: if the baseline document changes, the
- binding document needs to change correspondingly.
-
- Another disadvantage is that it takes a lot more work to
- produce a thick binding than a thin one. An interim draft
- was nearly completed for the January meeting, and we expect
- to work on more issues between meetings, and then polish it
- up to be ready for another full ballot after the April, 1994
- meeting.
-
- In January, the group re-examined our approach to Ada
- bindings to the threads extensions. We have concluded that
- almost all of the functions offered in POSIX.4a are going to
-
-
-
-
-
-
-
-
-
-
-
- - 2 -
-
-
-
- be provided for Ada applications in the revision of the
- language commonly called Ada9X, which is expected to be
- granted standard status within the year. It seems beside
- the point for us to duplicate as OS functions these
- capabilities, which will soon be available as language
- constructs. A couple of remaining pieces will be
- incorporated into the new draft of POSIX.20.
-
- One item of some concern to the group is the status of our
- coordination ballot on POSIX.4a, the threads extensions. In
- the usual mode of cooperation between the groups, all but a
- couple of our objections were resolved in discussion.
- Unfortunately, the one that we consider most important has
- been rejected on the grounds that it would reduce consensus.
- It is our view that there are times, particularly when
- handling signals, that it is important to be able to mask
- asynchronous signals for the entire process. This is
- particularly important in Ada runtime environments, and it
- is our view that it will also be important within C
- programs. The current C interface includes only per-thread
- signal masks. It is uncertain what the resolution of this
- issue will be.
-
- Meanwhile, we are preparing a revision to POSIX.5, to fix a
- few errors that have been found in the standard by
- implementers (missing parameter, missing function
- definition, error condition oversights). The only way to
- make ``substantive'' changes, even for errors, is to revise
- the standard, which means balloting, etc. This should be
- ready for ballot as soon as the administrative details are
- taken care of, which could be a few months.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Volume-Number: Volume 34, Number 4
-
-