Xref: utzoo comp.lang.c:9470 comp.unix.xenix:2051 Path: utzoo!mnetor!uunet!ncc!alberta!att-ih!ihnp4!ihuxv!bareta From: bareta@ihuxv.ATT.COM (Benyukhis) Newsgroups: comp.lang.c,comp.unix.xenix Subject: Interprocess Communication on UNIX SVR3 Message-ID: <2592@ihuxv.ATT.COM> Date: 19 Apr 88 13:53:41 GMT Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 13 Keywords: Producer/Consumer Problem Good morning usenetters, Can anyone outthere help me code the producer/consumer problem in "C". The prolog is as follows: the producer has to produce a char and deposit it in the shareable buffer for consumer to pick it up from. Both processes must use binary semaphores as a means of synchronization. It looks trivial, but for someone that has never written anything for more than one process .... In other words, if anyone has any helpfull hints for me, I would really appreciate it. Thanks in advance, Ed.