top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Solaris: Api's for InterlockedExchangeAdd and InterlockedCompareExchange

0 votes
94 views

I want Apis on solaris that I can use instead of

  1. INTERLOCKEDEXCHANGEADD
  2. INTERLOCKEDCOMPAREEXCHANGE

Are there exact apis for the same?

posted Feb 3, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
  1. InterlockedExchangeAdd

    man atomic_add

  2. InterlockedCompareExchange

    man atomic_cas

answer Feb 3, 2015 by Jagan Mishra
Similar Questions
+1 vote

We have had issues with system resources, primarily RAM, maxing out and effectively overwhelming an Apache web server.
We have noticed that some of the default TCP time settings on Solaris 10 seem really high. Is there any sort of standard TCP settings that have been adopted, or suggested, for a Solaris 10 system running Apache 2.2?Can anyone share what they have done?

0 votes

We need to install tomcat 7.0.68 or higher version on Sun Solaris 10. Can you let me know if there is any version compatibility matrix for Tomcat 7?

+3 votes

How to delete a symbolic link in Solaris ?

"ln -s" command is working fine to add a symbolic link. But how the symbolic link can be deleted ?
I tried like this, but its not working

ulink abc.xml
ulink: not found

I tried unlink command , but got the following message " command not found"

+1 vote

I tried to compile git 2.4.3 on Solaris 10. I used the following configuration:

$ ./configure --without-iconv

$ grep -i iconv config.status
ac_cs_config="'--without-iconv'"
 set X /bin/bash './configure' '--without-iconv'
$ac_configure_extra_args --no-create --no-recursion
OLD_ICONV=UnfortunatelyYes

But when I try to compile it, I get an error that libiconv is missing:

 LINK git-credential-store
Undefined first referenced
 symbol in file
libintl_gettext libgit.a(lockfile.o)
libiconv_close libgit.a(utf8.o)
libiconv_open libgit.a(utf8.o)
libintl_ngettext libgit.a(date.o)
libiconv libgit.a(utf8.o)
ld: fatal: symbol referencing errors. No output written to git-credential-store
collect2: ld returned 1 exit status
gmake: *** [git-credential-store] Error 1

How can I work around this?

...