projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b383e3c
)
Export OpenSemaphoreW from PAL
author
Stephen Toub
<stoub@microsoft.com>
Mon, 11 May 2015 22:59:19 +0000
(18:59 -0400)
committer
Stephen Toub
<stoub@microsoft.com>
Mon, 11 May 2015 22:59:19 +0000
(18:59 -0400)
Semaphore.OpenExisting uses OpenSemaphoreW from the PAL, but it's not being exported, resulting in EntryPointNotFoundExceptions.
src/pal/inc/pal.h
patch
|
blob
|
history
diff --git
a/src/pal/inc/pal.h
b/src/pal/inc/pal.h
index
2e763cb
..
b1fb2df
100644
(file)
--- 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