Reading a database from multiple threads

Thomas Flemming tf at ttqv.com
Mon Jun 1 13:01:36 CDT 2009


Hi Ruslan, Hi Thorsten,

thank you all for your explanations.
Maybe I was too long in the MS-Access world... ;-)
I think, I understood now how it works and it sounds logical to me and I know 
what to do.

Best regards,
Tom



Ruslan Zasukhin schrieb:
> On 6/1/09 8:03 PM, "Thomas Flemming" <tf at ttqv.com> wrote:
> 
>>> And each thread work with its own VCursor.
>>> Still threads should use mutex
>>>
>>> Or you can do mutexed search FindValue(),
>>> Then get Vset into that thread.
>>>
>> What do you mean with mutex?
>> Something like SyncLock?
> 
> Yes.
> 
> You are on .NET?
> 
> On Windows exists Critical Sections,
>     and Mutexes I think.
> 
> 

-- 
/****************************************
**   Dipl.-Ing. Thomas Flemming
**   Software Development
**
**   Touratech AG
**   Auf dem Zimmermann 7-9
**   D-78078 Niedereschach
**
**   mail  tf at ttqv.com
**   fon   +49 (0) 7728 9279-206
**   fax   +49 (0) 7728 9279-29
**
**   http://www.ttqv.com
**   http://www.touratech.de
**
**   ... und immer dem Pfeil nach!
***************************************/


More information about the Valentina mailing list