deprecate LOCAL_STATIC_LOCK

This construct is fairly useless.
Doesn't prevent ctor ordering problems.
This commit is contained in:
Michael Davidsaver
2017-12-28 11:23:29 -06:00
parent 6465ab3b6d
commit 207c24a4fd
2 changed files with 3 additions and 3 deletions

View File

@@ -9,11 +9,13 @@
#ifndef LOCALSTATICLOCK_H
#define LOCALSTATICLOCK_H
#include <compilerDependencies.h>
#include <pv/lock.h>
#include <shareLib.h>
epicsShareExtern epics::pvData::Mutex& getLocalStaticInitMutex();
epicsShareExtern epics::pvData::Mutex& getLocalStaticInitMutex() EPICS_DEPRECATED;
#if defined(__GNUC__) && __GNUC__ >= 4
// noop