This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On 08/20/2016 04:48 PM, Samuel Thibault wrote:
+ * malloc/malloc.c (main_arena): Use MUTEX_INITIALIZER instead of + _LIBC_LOCK_INITIALIZER.
No, you need to define _LIBC_LOCK_INITIALIZER in terms of MUTEX_INITIALIZER. If this is not possible, you need to select a lock which is compatible with the libc_lock infrastructure for the malloc mutex.
Florian
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |