Reading a database from multiple threads
Thomas Flemming
tf at ttqv.com
Mon Jun 1 12:03:28 CDT 2009
Hi Ruslan,
>>>> 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.
This means, a specific db can olny be opened ONCE in an application?
>
> 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?
Regards,
Thomas
--
/****************************************
** 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