[sword-devel] Thread safety

Joachim Ansorg sword-devel@crosswire.org
Wed, 1 Nov 2000 19:45:21 +0000


After some hours of hunting the bug it works!
I don't know why, but I changed only the "unsigned int" in 
cswordmodulesearch.cpp to "int".
I  tested it some times and it worked everytime fine. I think this problem is 

Another problem:
I added a indextest.cpp test program to sword/tests/.

It uses NewIndex().
The first index of the Bible is -24055. I think this is wrong.
What's the reason?


> First I thought Sword is not thread safe, later I made the threaded_search
> example structured like BibleTimne's search.
> It worked correctly.
> Now I don't know where to search.
> --Joachim