Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
252f41b7
Commit
252f41b7
authored
May 21, 1999
by
Per Cederqvist
Browse files
Lock the database file with an explicit lock file.
parent
21841dd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
252f41b7
1999-05-21 Per Cederqvist <ceder@gratia>
Lock the database file with an explicit lock file.
* src/server/dbck.c (main): Lock and unlock the database.
* src/server/ramkomd.c (init_data_base): Log the name of the lock
file.
(initialize): Lock the database before opening it.
(main): Unlock the database.
* src/server/server-config.c (parameters): Added "Lock file".
(read_configuration): Handle param.lockfile_name.
* src/server/param.h (struct kom_par): Added lockfile_name.
* src/server/Makefile.am (lyskomd_SOURCES): Added lockdb.h and
lockdb.c.
(DBCK): Likewise.
* src/server/lockdb.c, src/server/lockdb.h: New files.
(lock_db): New function.
(unlock_db): New function.
* doc/lyskomd.texi (Parameters): Document "Lock file:".
1999-05-20 Per Cederqvist <ceder@signum.se>
Clean up the framework for hunting memory leaks.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment