[sword-devel] Thread safety?
Tue, 10 Sep 2002 19:03:11 -0700
On September 10, 2002 15:46, Geoffrey W Hastings wrote:
> On Wed, 11 Sep 2002 03:52:25 +0600 email@example.com writes:
> > How much libSword is thread safe?
> > Can I safely simulateously access two different modules?
> Yes. In Windows just open the program again as many times as you desire
> differnent modules opened,
That doesn't mean that the library is thread safe since each instance of the
application has its own copy of Sword in memory. Therefore there is no chance
for one thread to clobber another.
> > How about iterating through the SWMgr's list of modules from two
> > threads simulateously?
> > How about getting a module info (e.g. "module->Description()") from
> > two threads simulateously?
> > --
> > Victor Porton (firstname.lastname@example.org)