osdMutex.h: fixed multiple-inclusion guard

This commit is contained in:
till straumann
2020-08-13 17:25:23 +02:00
committed by Dirk Zimoch
parent 76aa3aab01
commit 2c7dae92bc
2 changed files with 2 additions and 4 deletions

View File

@@ -240,9 +240,7 @@ void epicsMutexOsdShow(struct epicsMutexOSD * pmutex, unsigned int level)
* // if another thread performing the test above sees the 'invalid' or already
* // 'our' TID.
* atomic_store(&m->owner, pthread_self(), relaxed);
* // mutex_lock has 'acquire' semantics, i.e., the
* // final count-- that happened in another thread is guaranteed
* // to have completed
* // 'count' is only ever accessed with 'mtx' held
* m->count = 1;
* }
*

View File

@@ -8,7 +8,7 @@
* in file LICENSE that is included with this distribution.
\*************************************************************************/
#ifndef osdMutexh
#define osdTMutexh
#define osdMutexh
#include <pthread.h>