summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.h')
-rw-r--r--pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.h b/pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.h
new file mode 100644
index 00000000..9994930c
--- /dev/null
+++ b/pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.h
@@ -0,0 +1,21 @@
+/*
+ Copyright (c) 2012 Microsoft Corporation. All rights reserved.
+ Use of this sample source code is subject to the terms of the Microsoft license
+ agreement under which you licensed this sample source code and is provided AS-IS.
+ If you did not accept the terms of the license agreement, you are not authorized
+ to use this sample source code. For the terms of the license, please see the
+ license agreement between you and Microsoft.
+
+ To see all Code Samples for Windows Phone, visit http://go.microsoft.com/fwlink/?LinkID=219604
+
+*/
+#pragma once
+#include <mutex>
+
+
+namespace VoipBackEnd
+{
+ // A mutex used to protect objects accessible from the API surface exposed by this DLL
+ extern std::recursive_mutex g_apiLock;
+}
+