From owner-freebsd-questions Tue Jun 27 10:23:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from aahz.passedge.com (aahz.passedge.com [4.18.242.8]) by hub.freebsd.org (Postfix) with ESMTP id B2FF137BA49 for ; Tue, 27 Jun 2000 10:23:07 -0700 (PDT) (envelope-from batie@aahz.passedge.com) Received: (from batie@localhost) by aahz.passedge.com (8.9.3/8.8.5) id KAA06480; Tue, 27 Jun 2000 10:23:30 -0700 (PDT) Message-ID: <20000627102330.49662@aahz.passedge.com> Date: Tue, 27 Jun 2000 10:23:30 -0700 From: Alan Batie To: David Daugherty Cc: questions@freebsd.org Subject: Re: semaphores References: <20000627100408.19017@aahz.passedge.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-md5; boundary=h31gzZEtNLTqOjlF X-Mailer: Mutt 0.89i In-Reply-To: ; from David Daugherty on Tue, Jun 27, 2000 at 10:12:00AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii On Tue, Jun 27, 2000 at 10:12:00AM -0700, David Daugherty wrote: > bash-2.03$ man -f semaphore > ipcrm(1) - remove the specified message queues, semaphore sets, and shared > memory segments > sem_destroy(3) - destroy an unnamed semaphore > sem_getvalue(3) - get the value of a semaphore > sem_init(3) - initialize an unnamed semaphore > sem_open(3), sem_close(3), sem_unlink(3) - named semaphore operations > sem_post(3) - increment (unlock) a semaphore > sem_wait(3), sem_trywait(3) - decrement (lock) a semaphore > semctl(2) - control operations on a semaphore set > semget(2) - obtain a semaphore id > semop(2) - atomic array of operations on a semaphore set > IPC::Semaphore(3) - SysV Semaphore IPC object class > Thread::Semaphore(3) - thread-safe semaphores > > > I'm on 3.3-Release... > I ran this on a 4.0-Stable so I'm unsure if you'd get the same on > 3.3-Release. I don't see why not. I get: lockfile(1) - conditional semaphore-file creator ipcrm(1) - remove the specified message queues, semaphore sets, and shared memory segments semctl(2) - control operations on a semaphore set semget(2) - obtain a semaphore id semop(2) - atomic array of operations on a semaphore set ...so, looks like upgrade time. -- Alan Batie ------ What goes up, must come down. batie@aahz.passedge.com \ / Ask any system administrator. +1 503-466-8407 (voice) \ / --unknown D0 D2 39 0E 02 34 D6 B4 \/ 5A 41 21 8F 23 5F 08 9D --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: noq3jYdV3PWTC43k7dPAev5e7I76rxbn iQCVAwUBOVjjEhCfrckvDwdpAQHXnwP+KlKQwwo6QIJfb+gpeoMpnJaqhEDjbGwV KUn7HefKqZVp4Doi+3EI3kVf4SAqNTo2vJ5C796MeSJfQZH6JgVbgqpmQXyMaGxz 5YDcV/rWf3Ztwwyp43JlgaG1E/o7CpFwzWTBiOkbcAaywTrOIN/Qys8FpuPUWGtN Mi1iQ/ch1Ss= =Cz1d -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message