[sword-devel] Thread safety?

Geoffrey W Hastings sword-devel@crosswire.org
Tue, 10 Sep 2002 15:46:18 -0700


This message is in MIME format.  Since your mail reader does not understand
this format, some or all of this message may not be legible.

----__JNP_000_7a28.52ca.08cd
Content-Type: text/plain; charset=us-ascii  
Content-Transfer-Encoding: 7bit


On Wed, 11 Sep 2002 03:52:25 +0600 porton@narod.ru 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,

> 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 (porton@ex-code.com)
> 
> 
> 
----__JNP_000_7a28.52ca.08cd
Content-Type: text/html; charset=us-ascii  
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR></HEAD>
<BODY bottomMargin=3D0 leftMargin=3D3 topMargin=3D0 rightMargin=3D3>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>On Wed, 11 Sep 2002 03:52:25 +0600 <A=20
href=3D"mailto:porton@narod.ru">porton@narod.ru</A> writes:<BR>&gt; How =
much=20
libSword is thread safe?<BR>&gt; <BR>&gt; Can I safely simulateously access=
 two=20
different modules?<BR><FONT color=3D#0000ff>Yes. In Windows just open the =
program=20
again as many times as you desire differnent modules opened,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt; How about iterating through the SWMgr's list of modules from two=
=20
<BR>&gt; threads simulateously?<BR>&gt; <BR>&gt; How about getting a module=
 info=20
(e.g. "module-&gt;Description()") from <BR>&gt; two&nbsp; threads=20
simulateously?<BR>&gt; -- <BR>&gt; Victor Porton (<A=20
href=3D"mailto:porton@ex-code.com">porton@ex-code.com</A>)<BR>&gt; <BR>&gt;=
=20
<BR>&gt; </DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV></BODY></HTML>

----__JNP_000_7a28.52ca.08cd--


________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/web/.