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:
Andrew Johnson
2014-02-07 14:13:12 -06:00
parent 3f0e633fd1
commit 502366fdc3
8 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -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 );
}