Date: Mon, 30 Apr 2001 14:33:15 -0400 (EDT) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: Abdul Mehdi <amehdi_2000@yahoo.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD and system V Semaphores Message-ID: <Pine.SOL.4.21.0104301432070.1316-100000@onyx> In-Reply-To: <20010430182830.36305.qmail@web13503.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Check the following options in your kernel configuration file to see if they exist: options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores I can guarantee that these stuff work perfectly on FreeBSD from my personal experiences. -Zhihui On Mon, 30 Apr 2001, Abdul Mehdi wrote: > I have tried to write some simple programs about the > binary semaphores, I didn't get the result that I > expected but I was able to create one > set of semaphores has one track. I think my question > is, if I'm able to create a semaphore and delete it, > does this mean my FreeBSD 4.0 > supports system V semaphores, or I need to rebuild the > kernel with new options? I have another > question/request: Is there any body can > send me a simple semaphore program that has two > processes one process take the track and write to a > file and another process waiting > for the track to be free. I need to see the > synchronization in FreeBSD please. Thanks. > abdul > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.21.0104301432070.1316-100000>