[TRAFODION-2821] Trafodion core code base needs to be thread safe Changes as per review comments in commit d940a4a183
Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/f85e7ddc Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/f85e7ddc Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/f85e7ddc Branch: refs/heads/master Commit: f85e7ddcffa162c431050acd2ed9b38a0f720224 Parents: d940a4a Author: selvaganesang <[email protected]> Authored: Mon May 14 17:08:27 2018 +0000 Committer: selvaganesang <[email protected]> Committed: Mon May 14 17:08:27 2018 +0000 ---------------------------------------------------------------------- core/sqf/src/tm/tmlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafodion/blob/f85e7ddc/core/sqf/src/tm/tmlib.cpp ---------------------------------------------------------------------- diff --git a/core/sqf/src/tm/tmlib.cpp b/core/sqf/src/tm/tmlib.cpp index 3d35c6c..f7b9a7d 100644 --- a/core/sqf/src/tm/tmlib.cpp +++ b/core/sqf/src/tm/tmlib.cpp @@ -2869,8 +2869,8 @@ int TMLIB::initJNI() fflush(stderr); abort(); } + initMutex_->unlock(); } - initMutex_->unlock(); if (localBegin()) { lv_err = initConnection(iv_my_nid); if (lv_err)
