Date: Sat, 28 Dec 1996 22:00:03 -0700 (MST) From: Wes Peters <softweyr@xmission.com> To: "Sean Batson (Sunbeach)" <seanb012@sunbeach.net> Cc: questions@freebsd.org Subject: IPC API's Message-ID: <199612290500.WAA08836@obie.softweyr.com> In-Reply-To: <Pine.BSF.3.95.961227185407.1195A-100000@bsdi.net> References: <Pine.BSF.3.95.961227185407.1195A-100000@bsdi.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Sean Batson writes: > How do I go about coding for IPC applications? > Where online can I find the APIs to do such a > task. Under AIX I know the routines are msgsnd, > msgrcv and msgget. Got those same routines right here in FreeBSD. Be sure to include the following in your kernel configuration if you want them to work: options SYSVSHM options SYSVSEM options SYSVMSG Technically, you only need the first and the last, but why not get semaphores while you're at it? Has anyone out there ever wrapped a class around these so they're a little more usable? The SYSV IPC mechanisms are pretty powerful, but the semaphores and message queues have an *awful* interface. Hmmm... a nice little weekend (or two) project in C++ class construction. Any takers? (I.e. I don't want to do it myself; call me lazy.) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612290500.WAA08836>