On Wed 22 Mar 2006 at 07:32PM, Rama Krishna wrote:
> In  our  solaris  system  atomic_cas( ) is not available in user
> space,to make it available  we require to download some of the
> patches.  So we are  making use of our own atomic primitive. Base on
> your guidance we  are trying to modify  our primitive to make use of
> CMPXCHG  instruction.  As atomic_cas() is available in the update
> version.  Thanks for your suggestions.  But a little question arises
> in  my mind   for clarity purposes (i.e) how these atomic_cas() and
> CMPXCHG improves over it as all are in assemblylanguage only.

You should just be able to copy the source code of our library routines,
as long as you comply with the CDDL license.

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to