summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.cpp
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2017-01-23 04:32:34 +0000
committerNanang Izzuddin <nanang@teluu.com>2017-01-23 04:32:34 +0000
commitf6d78bf855f2d564f9e383508908631a4668e2af (patch)
tree223bd69531113c5069679f9a6d482c03863284c9 /pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.cpp
parentdfe36134873cb77d5b9c2a999f3134eb79f6ca6e (diff)
Re #1900: Reintegrated works in UWP branch to trunk.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5539 74dad513-b988-da41-8d7b-12977e46ad98
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;
+}
+