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@xxxxxxxxxxxx ------------------------------------------------------------ __________________________________________________ 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