From: Stephen Toub Date: Mon, 11 May 2015 22:59:19 +0000 (-0400) Subject: Export OpenSemaphoreW from PAL X-Git-Tag: accepted/tizen/base/20180629.140029~6694^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cdafa7f693b31052a6f564f75d5be8bcd52cf5e7;p=platform%2Fupstream%2Fcoreclr.git Export OpenSemaphoreW from PAL Semaphore.OpenExisting uses OpenSemaphoreW from the PAL, but it's not being exported, resulting in EntryPointNotFoundExceptions. --- diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h index 2e763cb..b1fb2df 100644 --- a/src/pal/inc/pal.h +++ b/src/pal/inc/pal.h @@ -1547,6 +1547,14 @@ CreateSemaphoreExW( IN /*_Reserved_*/ DWORD dwFlags, IN DWORD dwDesiredAccess); +PALIMPORT +HANDLE +PALAPI +OpenSemaphoreW( + IN DWORD dwDesiredAccess, + IN BOOL bInheritHandle, + IN LPCWSTR lpName); + #ifdef UNICODE #define CreateSemaphore CreateSemaphoreW #define CreateSemaphoreEx CreateSemaphoreExW