Can anyone provide suggestions on how to restructure a module to avoid 
undetectable deadlocks as outlined in section 4 of the developer's guide? 
Specifically, how can I:


1)      Create a document if it isn't already found in the database

2)      Create a user specific element if it doesn't already exist for the user 
in that document

3)      Add a child element to the user element in that document  if such a 
child element does not already exist

4)      Update an existing child element if it does exist

I attempted to use eval statements to ensure visibility along the way but ended 
up with deadlocks. What strategy should I follow restructuring this code to 
avoid such deadlocks?

Thanks.

Mark

----------------------------------------------------------------------
NOTICE: This email message is for the sole use of the intended recipient(s) and 
may contain confidential and privileged information. Any unauthorized review, 
use, disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply email and destroy all copies of 
the original message.
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to