Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 10:23:30 -0700
From:      Alan Batie <batie@aahz.passedge.com>
To:        David Daugherty <doc@wcug.wwu.edu>
Cc:        questions@freebsd.org
Subject:   Re: semaphores
Message-ID:  <20000627102330.49662@aahz.passedge.com>
In-Reply-To: <Pine.LNX.3.96.1000627101035.11398A-100000@sloth>; from David Daugherty on Tue, Jun 27, 2000 at 10:12:00AM -0700
References:  <20000627100408.19017@aahz.passedge.com> <Pine.LNX.3.96.1000627101035.11398A-100000@sloth>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000627102330.49662>