diff options
author | Juergen Gehring <juergen.gehring@bmw.de> | 2018-01-25 01:01:22 -0800 |
---|---|---|
committer | Juergen Gehring <juergen.gehring@bmw.de> | 2018-01-25 01:01:22 -0800 |
commit | 2fd0625d21f1fa8e6a3adfc89ce9f381a4d33990 (patch) | |
tree | 373a6c991944c700ee3ff1fe872daa3f751281d8 /src/CommonAPI | |
parent | 2c259a9cbfa8fbde71ebc62d45684c375311f4fc (diff) | |
download | genivi-common-api-runtime-2fd0625d21f1fa8e6a3adfc89ce9f381a4d33990.tar.gz |
capicxx-core-runtime 3.1.12.43.1.12.4
Diffstat (limited to 'src/CommonAPI')
-rw-r--r-- | src/CommonAPI/Runtime.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CommonAPI/Runtime.cpp b/src/CommonAPI/Runtime.cpp index daf6a66..9bae2e2 100644 --- a/src/CommonAPI/Runtime.cpp +++ b/src/CommonAPI/Runtime.cpp @@ -55,7 +55,9 @@ Runtime::setProperty(const std::string &_name, const std::string &_value) { } std::shared_ptr<Runtime> Runtime::get() { +#ifndef _WIN32 std::lock_guard<std::mutex> itsLock(getMutex__); +#endif if(!theRuntimePtr__) { theRuntimePtr__ = new std::shared_ptr<Runtime>(); } |