Reading a database from multiple threads
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Jun 1 11:18:53 CDT 2009
On 6/1/09 10:18 AM, "Thomas Flemming" <tf at ttqv.com> wrote:
> Good Morning,
>
>>>> You mean the db is running on a VServer or using a local file?
>>>>
>>> Its just a local file and each thread has its own IVDatabase-object
>>> open to the same file.
You can have in app single db opened.
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.
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list