Set file+line for epicsMutex

Makes the output of epicsMutexShowAll more useful wrt. libca.
This commit is contained in:
Michael Davidsaver
2019-04-03 15:18:18 -07:00
parent ede52d96b8
commit 5b09bb6e71
5 changed files with 6 additions and 0 deletions

View File

@@ -67,6 +67,8 @@ cacService * ca_client_context::pDefaultService = 0;
epicsMutex * ca_client_context::pDefaultServiceInstallMutex;
ca_client_context::ca_client_context ( bool enablePreemptiveCallback ) :
mutex(__FILE__, __LINE__),
cbMutex(__FILE__, __LINE__),
createdByThread ( epicsThreadGetIdSelf () ),
ca_exception_func ( 0 ), ca_exception_arg ( 0 ),
pVPrintfFunc ( errlogVprintf ), fdRegFunc ( 0 ), fdRegArg ( 0 ),