[bt-devel] thread problems

Joachim Ansorg bt-devel@crosswire.org
Sun, 14 Jan 2001 00:20:48 +0100


Yes, it's a strange bug.

I don't know why it's there.

-Is Sword thread-save and reentrant?
I think not, because it uses global variables and does not use 
pthread_mutex_t or similair methods to check if another instance reads at the 
same time variables or modules from disk.
-Maybe BibleTime isn't thread-safe?

The problem doesn't occur in BibleTime from December. This is _really_ 
strange because I can't see the difference in the code.


--Joachim


> > How many items are found?
>
> 10
>
> > Now press the start button again, how many items are now found?
>
> 906
>
> ??
>
> Martin

-- 
BibleTime - www.bibletime.de - info@bibletime.de
BibleTime is an easy to use Bible study tool for KDE / Linux.