Berkeley IPC & SysV IPC

Berkeley IPC & SysV IPC

Post by Nelson Bro » Tue, 24 Jan 1995 02:20:22



I've noticed that SunOS4.1.3 has include files sys/msg.h, sys/sem.h,
and sys/shm.h even though it is a BSD4.3 os. OSF/1 V1.3 has the include
file socket.h, even though it is a SysV os. Since Berkeley IPC and
SysV IPC are distinct methods and useful in their own ways, I was wondering
how universal it is for Unices to have both methods. i.e. would it be
wise for a piece of PD software to rely on a system to have one, the other,
or both?
--
                                        Nelson Brown

 
 
 

Berkeley IPC & SysV IPC

Post by Steven J. Sob » Tue, 24 Jan 1995 05:55:18


: I've noticed that SunOS4.1.3 has include files sys/msg.h, sys/sem.h,
: and sys/shm.h even though it is a BSD4.3 os. OSF/1 V1.3 has the include
: file socket.h, even though it is a SysV os. Since Berkeley IPC and
: SysV IPC are distinct methods and useful in their own ways, I was wondering
: how universal it is for Unices to have both methods. i.e. would it be
: wise for a piece of PD software to rely on a system to have one, the other,
: or both?

SunOS 4.1.3 has both the BSD and SysV libraries....

--


and to find me on IRC: /who *sjsobol* (my nickname is USUALLY Hopeless)
"Steve likes to break things." -z. tyrlik   "It's called STRESS TESTING." -me

 
 
 

Berkeley IPC & SysV IPC

Post by Nelson Bro » Tue, 31 Jan 1995 08:03:50




Quote:> SunOS 4.1.3 has both the BSD and SysV libraries....

Yes. There is a SysV option when you install 4.1.3. However, the SysV
IPC headers are not located in 5include/sys. They're in plain old
usr/include/sys. i.e. they're standard to 4.1.3 and not SysV options.
In addition, in ucb/include/sys you find the same exact ones as in
usr/include/sys. No links, just copies.
--
                                        Nelson Brown

 
 
 

1. Posix.1b IPC and SysV IPC

 I'm studying a book on UNIX programming and in the SysV IPC chapter
the book states that these interfaces will soon be obsoleted by
improved Posix interfaces to solve the same IPC problems. I tried
finding info on this and all I came up with was that Posix.1b now
incorporates these calls and that shared memory is implemented as
mmap() in Posix.1b. Are these the only changes? What about semaphores
and message queues? Do these "new" Posix calls use file descriptors or
are they still non-UNIX-oriented as the SysV calls?

        Thanks,
        Yoav

2. Panasonic CD-ROM mounting problems - Not a block device??

3. AT&T IPC-802 /IPC-900 Drivers for SCO?

4. at kinko's lan port, difficult to broadcast webserver and login aol, please help

5. Porting SYSV IPC from OSF & Solaris to Linux

6. how do I link to a specific library version?

7. SYS V IPC, how does "ipcs" get list of existing IPC structures

8. WinaXe -- run n OSs simultaneously on n PCs with 1 monitor

9. X25/Berkeley IPC/socket question

10. How to discover current SYSV IPC status under Solaris 5.3

11. SYSV IPC:function not implemented

12. SYSV/Posix IPC with fds.

13. SysV IPC question