chiark / gitweb /
writeable wip
[chiark-tcl.git] / cdb / cdb.tct
index e55e15c6a6d3f067d38deb21b04f93812370c577..fca6ecbcab0e6ddb2605ddcd5a46e8ecadf6a67d 100644 (file)
@@ -26,10 +26,13 @@ Table cdbwr Cdbwr_SubCommand
                pathb   string
                # files:
                #       <pathb>.main
+               #       <pathb>.lock
                #       <pathb>.cdb
                #       <pathb>.log
                #       <pathb>.tmp (might be new .main or new .cdb)
                # invariants:
+               #       .lock is an empty file
+               #         which is locked with fcntl by open
                #       .main is a cdb native text file
                #         and always exists
                #       if .tmp exists it is irrelevant