Aron Bierbaum wrote: > I could be wrong, but I thought that the new API was thread safe only > if you used the _r versions of the method so that you can pass in a > handle to the thread specific data. For example you can look at: > badthreadtest.c and threadtest.c I was under the impression that the > old API could be used in order to not break backwards compatibility. > In order to accomplish this though, they use a global handle that gets > initialized in initGEOS(). >
I think you're right. I was also under the impression that one had to use all the thread-safe methods (with the '_r' suffix) and also pass in the thread context handle as an argument. You have to opt-in to the thread-safe API. -Justin _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
