ucrtbase: Implement _(un)lock_locales.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2016-06-14 12:28:12 -06:00 committed by Alexandre Julliard
parent 2b221b3f9c
commit c044cf410d
3 changed files with 20 additions and 4 deletions

View File

@ -11,9 +11,9 @@
@ cdecl _free_locale(ptr) ucrtbase._free_locale
@ cdecl _get_current_locale() ucrtbase._get_current_locale
@ cdecl _getmbcp() ucrtbase._getmbcp
@ stub _lock_locales
@ cdecl _lock_locales() ucrtbase._lock_locales
@ cdecl _setmbcp(long) ucrtbase._setmbcp
@ stub _unlock_locales
@ cdecl _unlock_locales() ucrtbase._unlock_locales
@ stub _wcreate_locale
@ cdecl _wsetlocale(long wstr) ucrtbase._wsetlocale
@ cdecl localeconv() ucrtbase.localeconv

View File

@ -1591,6 +1591,22 @@ static MSVCRT_pthreadlocinfo create_locinfo(int category,
return locinfo;
}
/*********************************************************************
* _lock_locales (UCRTBASE.@)
*/
void CDECL _lock_locales(void)
{
LOCK_LOCALE
}
/*********************************************************************
* _unlock_locales (UCRTBASE.@)
*/
void CDECL _unlock_locales(void)
{
UNLOCK_LOCALE
}
/*********************************************************************
* _create_locale (MSVCRT.@)
*/

View File

@ -563,7 +563,7 @@
@ cdecl _localtime64(ptr) MSVCRT__localtime64
@ cdecl _localtime64_s(ptr ptr)
@ cdecl _lock_file(ptr) MSVCRT__lock_file
@ stub _lock_locales
@ cdecl _lock_locales()
@ cdecl _locking(long long long) MSVCRT__locking
@ cdecl _logb(double) MSVCRT__logb
@ cdecl -arch=arm,x86_64 _logbf(float) MSVCRT__logbf
@ -2000,7 +2000,7 @@
@ cdecl _unlink(str) MSVCRT__unlink
@ cdecl _unloaddll(long)
@ cdecl _unlock_file(ptr) MSVCRT__unlock_file
@ stub _unlock_locales
@ cdecl _unlock_locales()
@ cdecl _utime32(str ptr)
@ cdecl _utime64(str ptr)
@ cdecl _waccess(wstr long) MSVCRT__waccess