#include "libComAPI.h"
#include "epicsAtomicDefault.h"
Go to the source code of this file.
#define EPICS_ATOMIC_OS_NAME "Solaris" |
Definition at line 42 of file epicsAtomicOSD.cpp.
44 unsigned countDown = 1000u;
47 status = pthread_mutex_lock ( & mutex );
48 if ( status == 0 )
return;
49 assert ( status == EINTR );
50 struct timespec retryDelay = { 0, 100000000 };
52 while (nanosleep(&retryDelay, &remainingDelay) == -1 && errno == EINTR)
53 retryDelay = remainingDelay;
#define assert(exp)
Declare that a condition should be true.
Defined by POSIX Real Time.
Definition at line 59 of file epicsAtomicOSD.cpp.
61 const int status = pthread_mutex_unlock ( & mutex );
#define assert(exp)
Declare that a condition should be true.