[comp.unix.wizards] fast semaphores on sun386i

Leisner.Henr@xerox.com (Marty) (05/18/89)

I've recently rehosted some Ms/Dos code to a sun386i.  The code speaks to a
memory mapped board in the AT bus of the sun.  I'm using mmap to map in the
address space of this board.

My board has a TI34010 graphics processor on it.

My current Ms/Dos software acts as a stub-server with the TI34010 as a
client to provide basic system calls (open, close, read, write, etc).

I want to fork and run another task as a debugger for the TI34010.  I need
a good efficient way to moderate access to the board (essentially a
semaphore).  So I'll run two tasks (the debugger and the stub-server) using
the semaphore.

A simple example with code is what I'm looking for.

I'm aware there are a wide variety of system services on SunOS to do IPC --
I need some advice on which one is what I want.

marty
ARPA:	leisner.henr@xerox.com
GV:  leisner.henr
NS:  martin leisner:wbst139:xerox
UUCP:	hplabs!arisia!leisner