Valentina and RB threads
Ruslan Zasukhin
ruslan_zasukhin at valentina-db.com
Thu Oct 20 09:53:41 CDT 2011
On 10/19/11 10:18 PM, "jda" <jda at his.com> wrote:
Hi Jon,
> There is no flush. The app is getting data from
> Valentina (readonly). I have no idea, either.
In fact you should at least mutex calls to Valentina engine from few
threads.
You have N threads
You have one mutext: gValentinaMutex
And you should mutex such commands as
db.SqlSelect
db.SqlExecute
cursor.NextRecord()
And you can skip mutex I think for
read/write values from the current record of cursor.
You say UI freeze, but have you check somehow
E.g. Print into file, that thread itself works and produce new values?
--
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