Prevents other threads from simultaneously accessing a group of databases.
numero = 200[exclusivelock db=orders.db&db=lineitems.db&db=accesslog.db]...search, delete, or modify any of orders.db, lineitems.db, or accesslog.db while being assured that no other threads can modify any of these databases until the closing /exclusivelock tag is reached.[/exclusivelock]The list of database names is first alphabetized so as to maintain a consistent locking order (a technique which prevents internal deadlocks), then each database lock is acquired one at a time until all locks are acquired, then the interior WebDNA is executed. If any lock cannot be acquired, the other databases are unlocked, and the interior WebDNA is not executed. [exclusivelock database list]...WebDNA...[/exclusivelock]
[exclusivelock db=orders.db&db=lineitems.db&db=accesslog.db]
...search, delete, or modify any of orders.db, lineitems.db, or accesslog.db while being assured that no other threads can modify any of these databases until the closing /exclusivelock tag is reached.
[/exclusivelock]
DOWNLOAD WEBDNA NOW!
WebDNA applications...
F.A.QA compilation of some user's questions...
WebDNA reference...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
WebDNA LibrariesA list of available libraries for WebDNA...
Tips and TricksA list of user-submitted tips ...
The behavior of this context is to iterate the child XML nodes of a parent node...
[!]Hides text...
[math][math] calculates equations using numbers...
[addlineitem]Adds a product to the specified shopping cart...
[DOS]Executes the DOS batch file commands contained in the context and displays the results...
[deletefile]Deleting a file from your website...