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!
A list of available libraries for WebDNA...
Download WebDNA ApplicationsWebDNA applications...
WebDNA ModulesA list of the currently available modules...
Tips and TricksA list of user-submitted tips ...
F.A.QA compilation of some user's questions...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
Displays the browser name...
[listdatabases]Lists all the currently-open databases...
[encrypt][encrypt] and [decrypt] allow you to store sensitive data in your databases without risk of exposing it to prying eyes...
[input][url]...
[calcfilecrc32]calculates the CRC32 value of a given file...
[convertchars][url]...