Atomic updates: Difference between revisions

m
m (→‎{{header|PicoLisp}}: not needed.)
Line 2,693:
(unless (fork)
(loop
(dbSync) # Atomic DB operation
(let Lst (collect 'key '+Bucket) # Get all buckets
(for This Lst # Print current values
Line 2,700 ⟶ 2,699:
"-- Total: "
(sum '((This) (: val)) Lst) ) )
(rollback)
(wait 2000) ) ) # Sleep two seconds
 
298

edits