From owner-freebsd-isp Tue Feb 20 13:55:13 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA08916 for isp-outgoing; Tue, 20 Feb 1996 13:55:13 -0800 (PST) Received: from goombay.irbs.com (goombay.irbs.com [205.216.79.250]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA08907 for ; Tue, 20 Feb 1996 13:55:09 -0800 (PST) Received: (from jc@localhost) by goombay.irbs.com (8.6.12/8.6.6) id QAA14674; Tue, 20 Feb 1996 16:54:02 -0500 Message-Id: <199602202154.QAA14674@goombay.irbs.com> Subject: Re: Semaphore operation To: tpatel@ecpi.com (Tushar Patel) Date: Tue, 20 Feb 1996 16:54:02 -0500 (EST) From: "John Capo" Cc: freebsd-isp@freebsd.org In-Reply-To: <199602201222.MAA14593@ecpi.com> from "Tushar Patel" at Feb 20, 96 12:22:54 pm X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org Precedence: bulk Tushar Patel writes: > > Is there anything in the FreeBSD which will allow me to do semaphore > operation? > > Like the semop() systemcall on the sun. > goombay 241% man semop SEMOP(2) UNIX Programmer's Manual SEMOP(2) NAME semop - atomic array of operations on a semaphore set SYNOPSIS #include #include #include int semop(int semid, struct sembuf array[], unsigned nops) etc.... You need to build a kernel with the SystemV options enabled. Look in /sys/i386/conf/LINT for the particulars. John Capo jc@irbs.com IRBS Engineering High performance FreeBSD systems (305) 792-9551 Internet Consulting - ISP Solutions