The following is the description of a technical session which did not make
it in the InterWorks writeups. I believe the session will be Monday afternoon.
Porting EC2_$ and MBX_$ calls to Unix
-------------------------------------
DomainOS has two very unique interprocess communication (IPC) facilities
not available on any other Unix system; eventcounts, and mailboxes.
Eventcounts (ec2_$ calls) is a program synchronization facility. Programs
can use eventcounts to synchronize processes. A process typically
synchronizes with another process by waiting on an eventcount that is
advanced by the other process. Eventcounts are created, initialized, and
advanced by user processes. Only processes on the same node can share
eventcounts. They cannot be shared across nodes.
Mailboxes (mbx_$ calls) is another IPC mechanism. A mailbox is a file that
two programs use to exchange information. A program that creates a mailbox
is called a server. Other programs, called clients, can open mailbox
connections in order to communicate with the server. A mailbox has only one
server, although a mailbox can have up to 255 connections that clients can
open. A server can "service requests" from any client that has an open
connection to a mailbox server. However, a client can communicate only with
the server.
This session is geared to aid the application developer in porting their
eventcount and mailbox dependent code to an Open Systems platform. We will
explore a variety of approaches touching on X11 events, SysV semaphores,
memory mapped semaphores, signals, shared memory, memory mapped files,
Berkley sockets, and the Unix select() system call. Code segments to
solutions will be presented and discussed for each of these areas.
--
John Agosta
ago...@hpfcla.fc.hp.com