Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
- Posts: 15
- Joined: Fri 17 Nov 2006 04:01
Using VT in multi-thread application with Read-Only e.g. configuration file.
I start new thread of each operation and read VT from disk file on this operation.
Is it safe?
- Devart Team
- Posts: 5530
- Joined: Tue 10 Aug 2010 11:35
You can't load data simultaneously in different threads from a file to a single instance of VirtualTable, since data in VT are cleared before loading - and concurrent data loading will cause errors.