This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
can __exchange_and_add be used from outside?
- From: Juan Carlos Franzoy <jfranzoy at yahoo dot com dot ar>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 27 Mar 2007 04:58:10 -0700 (PDT)
- Subject: can __exchange_and_add be used from outside?
Hello. I write because I was wondering if __exchange_and_add can be used from user code or it's an internal detail of libstdc++.
I have to implement a library with AtomicSet and AtomicAdd. The library must be portable across solaris/sparc, linux/x86 and hpux11/parisc.
If the answer is no, do anybody know how to do it?
Thanks.
------------------------------------------------------------
Juan Carlos Franzoy
Proyect Leader
mailto:jfranzoy@yahoo.com.ar
------------------------------------------------------------
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas