2006-09-14 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/concurrence.h (__mutex::__mutex): Pass address of
mutex to *_MUTEX_INIT_FUNCTION.
From-SVN: r116954
-2006-09-13 Benjamin Kosnik <bkoz@redhat.com>
+2006-09-14 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/bits/concurrence.h (__mutex::__mutex): Pass address of
+ mutex to *_MUTEX_INIT_FUNCTION.
+
+2006-09-13 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/atomicity.h: Move to...
* include/ext/atomicity.h: ...here.
__gthread_mutex_t __tmp = __GTHREAD_MUTEX_INIT;
_M_mutex = __tmp;
#else
- __GTHREAD_MUTEX_INIT_FUNCTION(_M_mutex);
+ __GTHREAD_MUTEX_INIT_FUNCTION(&_M_mutex);
#endif
}
#endif
__gthread_recursive_mutex_t __tmp = __GTHREAD_RECURSIVE_MUTEX_INIT;
_M_mutex = __tmp;
#else
- __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION(_M_mutex);
+ __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION(&_M_mutex);
#endif
}
#endif