V4WS need to use semaphores when READ from table in case cause simultaneous indexing?

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Nov 25 13:42:40 CST 2004


On 11/25/04 12:03 PM, "Steven" <srt at bigpond.net.au> wrote:

Hi Steven,

> I have some confusion about when semaphores are needed when using V4WS in
> WebSiphon.
> 
> I know if you are going to update or delete a record, you need to use
> semaphores to prevent another template updating or deleting the same record
> at the same time.
> 
> But what if I just read records from a table by doing
> cursorRef=Select(...), and this causes an index for the search field to be
> created? If two templates try to read records from the same table at the
> same time, couldn't this cause simultaneous index requests?

Use semaphore also for safe.

But taking into account that OS 9 is cooperative.
Exists chance that you can avoid this step.
You can self test if it works.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina mailing list