Added the LOCK and UNLOCK commands. LOCK will lock the file mutex and
commitb3c9b9cf072a5eb5f46193cf23009789e21ba31a
authorBen Kibbey <bjk@luxsci.net>
Sat, 16 Feb 2008 06:20:25 +0000 (16 01:20 -0500)
committerBen Kibbey <bjk@luxsci.net>
Sat, 16 Feb 2008 06:20:25 +0000 (16 01:20 -0500)
tree96dbd004f6c6091155ec6967fe469afd9271b1f8
parent5de2859eff2faa541d35e0ff8ce887ba5206037f
Added the LOCK and UNLOCK commands. LOCK will lock the file mutex and
prevent other clients with the same open file from sending non-cache
related commands until UNLOCK is sent from the same client that sent
LOCK.

So if you are in the middle of modifying some existing data and you
have a client that needs the same data, this can prevent old data
being sent to the other client and can also prevent
EPWMD_FILE_MODIFIED errors.
COMMANDS
src/commands.c
src/commands.h
src/common.h