Writing Multithreaded code with Sybase CTlib ver 10.x?
>A customer is trying to write a multi-threaded application that also >uses Sybase CTlib ver 10.x, and he is facing some limitations due to >the Sybase library. > >BOTTOM LINE: CTlib is reentrant, but according to Sybase is not usable >in a multi-threaded context. That means it does NOT seem to be usable >in an MT application. > >The purpose of this mail is NOT to get a fix for CTlib, but to try to >find a workaround, if one exists… A: The workaround for the moment is to use the XA library routines from Sybase, which are, in turn, based upon the TransArc package pthread* routines. We should be getting an alpha version of MT safe/hot CTlib towards the first part of June 1995. Also of potential interest is there will also be an early version of native-threaded OpenServer soon as well, which really opens up a lot of possibilities.