0, XPERMANENT, \
{}, {}, {}, {}, {}, \
{}, {}, {}, {}, {}, \
- LOCK_INITIALIZER, \
+ OS_UNFAIR_LOCK_INIT, \
XMAGIC, \
1, 0, 0, 0, 0, 0, 1, 1, 0, \
NULL, \
return NULL;
new->__refcount = 1;
new->__free_extra = (__free_extra_t)_releaselocale;
- new->__lock = LOCK_INITIALIZER;
+ new->__lock = OS_UNFAIR_LOCK_INIT;
if (loc == NULL)
loc = __current_locale();
else if (loc == LC_GLOBAL_LOCALE)
*new = __c_locale;
new->__refcount = 1;
new->__free_extra = (__free_extra_t)_releaselocale;
- new->__lock = LOCK_INITIALIZER;
+ new->__lock = OS_UNFAIR_LOCK_INIT;
return new;
}
XL_LOCK(loc);