Thread-safe if ReadOnly?

Thread-safe if ReadOnly?

Postby Theprasit » Sat 09 Apr 2016 04:10

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?


Posts: 15
Joined: Fri 17 Nov 2006 04:01

Re: Thread-safe if ReadOnly?

Postby AlexP » Mon 11 Apr 2016 09:21


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.
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Return to VirtualDAC