on 5/29/01 23:15, Steve Baxter at s.baxter-mail at improvision .DOT com wrote:
Hi Steve,
> Is the Valentina file architecture thread safe? I am thinking of using a > pre-emptive Windows thread to write my BLOB data into the database and > possibly to update other records as well. This would all be done within > cursors. > > Does the database properly block reads and writes to a record that is being > written to or read from by a different thread?
I don't think so.
on windows I have "implement" inside of VSDK cooperative multi-tasking using one global semaphore.
This means that you can have 10 own threads in your app, but access to database will be semaphored. I am going change this soon.
So you want do LONG write into BLOB and in the same time work with other records (of other tables), yes? Looks as feature of Server :-)
-- Best regards, Ruslan Zasukhin
------------------------- Paradigma.
e-mail: ruslan@paradigmasoft.com web : http://www.paradigmasoft.com
To subscribe to the Valentina mail list send a letter to valentina-on at lists .DOT macserve.net
------------------------------------------------------------- The Valentina mailing list is brought to you by MacServe.net For info on lists services, see http://www.macserve.net/lists.html ©2001 Ruslan Zasukhin |