epicsMutex C++ API: New constructor and newEpicsMutex macro
The new constructor accepts source file & line number. The macro passes these in.
This commit is contained in:
@@ -57,7 +57,7 @@ extern "C" void cacOnceFunc ( void * )
|
||||
{
|
||||
caClientCallbackThreadId = epicsThreadPrivateCreate ();
|
||||
assert ( caClientCallbackThreadId );
|
||||
ca_client_context::pDefaultServiceInstallMutex = new epicsMutex;
|
||||
ca_client_context::pDefaultServiceInstallMutex = newEpicsMutex;
|
||||
epicsAtExit ( cacExitHandler,0 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user