A mutex has been moved from the thread to the session in c-treeDB for Java for both performance and scalability reasons. The following functions are now exported and available for use within the JTDB layer: ctThrdIni(), ctThrdSet(), and ctThrdPut().
During the use of ctdb.AllocSession(), call ctThrdSet() or ctThrdInit() before ctdbAllocSession().