can __exchange_and_add be used from outside?

Juan Carlos Franzoy jfranzoy@yahoo.com.ar
Tue Mar 27 13:12:00 GMT 2007


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 



More information about the Gcc-help mailing list