errlogFlush must call errlogInit
This commit is contained in:
1 parent
f5b0d3fc22
commit
d98e84cd6f
1 file changed
+1
@@ -344,6 +344,7 @@ epicsShareFunc int epicsShareAPI errlogInit(int bufsize)
|
||||
epicsShareFunc void epicsShareAPI errlogFlush(void)
|
||||
{
|
||||
int count;
|
||||
errlogInit(0);
|
||||
/*If nothing in queue dont wake up errlogThread*/
|
||||
epicsMutexMustLock(pvtData.msgQueueLock);
|
||||
count = ellCount(&pvtData.msgQueue);
|
||||
|
||||
Reference in new issue
Block a user