summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.cpp')
-rw-r--r--pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.cpp b/pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.cpp
new file mode 100644
index 00000000..c081223a
--- /dev/null
+++ b/pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.cpp
@@ -0,0 +1,18 @@
+/*
+ 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.
+
+*/
+#include "pch.h"
+#include "ApiLock.h"
+
+namespace VoipBackEnd
+{
+ // A mutex used to protect objects accessible from the API surface exposed by this DLL
+ std::recursive_mutex g_apiLock;
+}
+