diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2017-01-23 04:32:34 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2017-01-23 04:32:34 +0000 |
commit | f6d78bf855f2d564f9e383508908631a4668e2af (patch) | |
tree | 223bd69531113c5069679f9a6d482c03863284c9 /pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.h | |
parent | dfe36134873cb77d5b9c2a999f3134eb79f6ca6e (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.h')
-rw-r--r-- | pjsip-apps/src/pjsua/winrt/gui/uwp/VoipBackEnd/ApiLock.h | 21 |
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;
+}
+
|