diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2017-09-08 20:34:37 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-09-08 21:08:54 +0200 |
commit | 7a0134204ebf3fe03ce670348c326521ae48f2ed (patch) | |
tree | f3227b665f49cc45710a9a1fc3cb516aded9814f /%252525253fid%252525253d2fe9c7efcee3812d46f367d3321c924ca4152485%2525253fid%2525253de943a8a4dbb8b5d6ad280ba2a576cdd9e7e66a63%25253fid%25253df69698569ff79965580c3a8c23d9e59fc1810fc7%253fid%253df69698569ff79965580c3a8c23d9e59fc1810fc7%3fid%3d380124c7a21fc216e760e8b925d8738292b725f8?id=7a0134204ebf3fe03ce670348c326521ae48f2ed | |
parent | 0f3d1988bfacd86075c7306723ea11d63afa766a (diff) |
Use a shared input/output mutex
Replace the save mutex with a common mutex, which is locked whenever
read or write operations on the data files are performed. Also, since
this mutex is an implementation detail, mark the locking functions
static and remove them from the header file.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to '%252525253fid%252525253d2fe9c7efcee3812d46f367d3321c924ca4152485%2525253fid%2525253de943a8a4dbb8b5d6ad280ba2a576cdd9e7e66a63%25253fid%25253df69698569ff79965580c3a8c23d9e59fc1810fc7%253fid%253df69698569ff79965580c3a8c23d9e59fc1810fc7%3fid%3d380124c7a21fc216e760e8b925d8738292b725f8?id=7a0134204ebf3fe03ce670348c326521ae48f2ed')
0 files changed, 0 insertions, 0 deletions