Hi,

When accessing libsword simultaneously from multiple threads, it often
crashes. When surrounding the calls to the library with a mutex.lock and a
mutex.unlock at the end, there's no crashes when accessing it in the same
situation. I am seeing this on Linux and on the Mac. Should I do something
in the library, or make a special call, to make it thread-safe? Or is
surrounding the library calls with a mutex the recommended way to handle
this?

Teus.
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to