gomp-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gomp-discuss] Decision about semaphores ..


From: Pop Sébastian
Subject: Re: [Gomp-discuss] Decision about semaphores ..
Date: Wed, 19 Feb 2003 12:06:09 +0100
User-agent: Mutt/1.4i

On Wed, Feb 19, 2003 at 11:08:25AM +0100, Steven Bosscher wrote:
> Would you mind explaining to the not-a-computer-scientist here what a
> semaphore is? :-)
> 

>From "info libc" section "POSIX Semaphores":

   Semaphores are counters for resources shared between threads. The
basic operations on semaphores are: increment the counter atomically,
and wait until the counter is non-null and decrement it atomically.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]