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.
Rama This message posted from opensolaris.org _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org