Print this page
5042 stop using deprecated atomic functions

@@ -25,12 +25,10 @@
  */
 
 #ifndef _SYS_SYNCH32_H
 #define _SYS_SYNCH32_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #ifdef  __cplusplus
 extern "C" {
 #endif
 
 /* special defines for LWP mutexes */

@@ -40,11 +38,11 @@
 #define mutex_rcount            flags.mbcp_type_un.mtype_rcount.count_type2
 #define mutex_magic             flags.magic
 #define mutex_owner             data
 /* used to atomically operate on whole word via cas or swap instruction */
 #define mutex_lockword          lock.lock32.lockword
-/* this requires cas64 */
+/* this requires atomic_cas_64 */
 #define mutex_lockword64        lock.owner64
 /* these are bytes */
 #define mutex_lockw             lock.lock64.pad[7]
 #define mutex_waiters           lock.lock64.pad[6]
 #define mutex_spinners          lock.lock64.pad[5]