home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: pc@hillside.co.uk (Peter Collinson)
-
- USENIX Standards Watchdog Committee
-
- Stephen Walli <stephe@usenix.org>, Report Editor
- Report on POSIX.5, POSIX.20: Ada Bindings
-
-
- Del Swanson <dswanson@email.sp.unisys.com> reports on the January
- 13-17 meeting in Irvine, CA:
-
- The POSIX.5 working group is producing an Ada binding to the C-based
- POSIX.1 document. The group is also involved with a new project,
- POSIX.20. This will be an Ada binding to the programming language
- independent specification of POSIX.4 (Real-time Extensions) and
- POSIX.4a (Threads).
-
- The meeting in Irvine was spent on the finishing touches to the
- POSIX.5 document, which is finishing ballot, and getting a good start
- on the new POSIX.20 work.
-
- The group had been somewhat shocked at the overwhelming positive
- response to the first recirculation of the POSIX.5 document. There was
- almost 90% approval by the almost 300 balloters. This is a compliment
- to the great ballot resolution job on the part of the technical
- reviewers. It was a slight embarrassment, however, since there were
- known errors in the draft. In fact, the draft had been sent out for
- recirculation even though an error had been discovered at the last
- minute. We assumed that it could be fixed in the next recirculation.
-
- The group decided to ``do the right thing'', and make one more
- recirculation with minor editorial changes and a couple of error
- corrections. Draft 8 is expected to be the final recirculation. It
- should have a fast turn-around, and it is expected to be approved at
- the June meeting of the IEEE Standards Board.
-
- Several new members have joined the group because of their interest in
- the POSIX.20 binding of the real-time extensions. They showed
- themselves to be eager participants, astute observers, and acquainted
- with the issues we will be facing in this task.
-
- The single issue that will demand our attention more than any other
- during the binding deliberations is how the relationship of Ada tasks
- to POSIX.4a threads will be represented in the binding. As background,
- most of us are convinced that the p-threads as defined in POSIX.4a will
- provide an adequate capability for Ada implementations to use for a
- direct mapping of Ada tasks. Further, we believe that the services
- provided in the POSIX.4 materials will be sufficient for a reasonably
- straight-forward implementation of Ada tasking semantics by Ada
- runtime libraries.
-
- Nevertheless, the semantics of tasks are not identical to the
- semantics of threads (for example, Ada allows no orphans). Further,
- since Ada as a language introduces concurrency along with the rules of
- interactions, the runtime libraries of Ada implementations like to be
- able to make assumptions about the state of tasks. Disrupting this
- state would likely be disastrous. For example, if an application
- directly aborted a thread (which had been mapped as a task) the
- runtime library could become quickly confused.
-
- Opinions about how to deal with this situation range widely, and tend
- to be held strongly. Some participants believe that services such as
- pthread_create() that are available via language construct (declare a
- task) should not be visible to applications by direct call to the
- operating system. Others believe that every interface should be made
- directly visible by way of the Ada binding. Many attempts are being
- made to integrate the needs of the various factions. This issue will
- arise in many ways throughout the entire POSIX.20 project.
-
- One issue that was resolved was the basic character of the binding.
- The IEEE POSIX working groups have taken the lead from ISO WG15 (ISO
- POSIX) that all POSIX standards will be formulated as language
- independent specifications (LIS), and this will be accompanied by a
- series of thin programming language bindings. While there continues
- to be scepticism evidenced by some members of the group, who doubt the
- wisdom (or the possibility) of this approach, we agreed that we would
- be converts to the cause.
-
- We will produce a thin binding to the LIS versions of POSIX.4 and
- POSIX.4a. We will do so enthusiastically. We will help the POSIX.4
- working group in so far as we can to produce a viable LIS version.
-
- We are fortunate that a couple of our members have received funding to
- give us a head start on some labor-intensive activities. The U.S. Navy
- funded a solid first draft of the test assertions for POSIX.5. The
- U.S. Army funded a first draft thin Ada binding (or transliteration)
- of the existing C-based POSIX.4 document.
-
- In summary, we are expecting some significant progress at our next
- meeting, now that most people are oriented to the issues. Several
- people have volunteered to write position papers, and to start working
- on chapters to present for consideration in April.
-
- Your Ada Snitch.
-
-
- Volume-Number: Volume 27, Number 9
-
-