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: Steven Bosscher
Subject: Re: [Gomp-discuss] Decision about semaphores ..
Date: 19 Feb 2003 11:08:25 +0100

Op wo 19-02-2003, om 11:01 schreef Lars Segerlund:
> 
>   I am trying to write some semaphores for the fork/join of threads, ( 
> more specificly the join ), and I have the decision on using primitives 
> from POSIX threads, or an asm macro using native instructions in the 
> target cpu to do atomic updates.
> 
>   What is the opinion on this among you people ?
> 
>   The native instruction approach is FAST, however it would be easier to 
> support different architectures by using the threading lib ?
> 
>   It's just the overhead of the join and such that concerns me.
> 
>   / Lars Segerlund.
> 

<dumb look>
Would you mind explaining to the not-a-computer-scientist here what a
semaphore is? :-)

Greetz
Steven






reply via email to

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