From ac4890e5c936f6bd6a9b5d2fbec805824446d20a Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 15 Jul 2003 22:13:23 +0000 Subject: [PATCH] Fixed locking problem in new iocshRegisterVariable routine. --- src/iocsh/iocsh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iocsh/iocsh.cpp b/src/iocsh/iocsh.cpp index 616f1348c..053cbf8e1 100644 --- a/src/iocsh/iocsh.cpp +++ b/src/iocsh/iocsh.cpp @@ -163,8 +163,8 @@ void epicsShareAPI iocshRegisterVariable (const iocshVarDef *piocshVarDef) l->next = n; } n->pVarDef = piocshVarDef; - iocshTableUnlock (); } + iocshTableUnlock (); } /*