handle the race between writing the head and tail of an entry between threads
authorTony Cook <tony@develop-help.com>
Sat, 27 Oct 2012 02:18:10 +0000 (13:18 +1100)
committerTony Cook <tony@develop-help.com>
Fri, 14 Dec 2012 09:27:39 +0000 (20:27 +1100)
commitcd45c8109b81c44b28103cc1a821e3eaab4758ca
tree7c2a6147291a9fbf0fb474f914129e2830bdc7b1
parent517c350007ddb6dea80342456b27a981fb6fc809
handle the race between writing the head and tail of an entry between threads

in some cases the head and tails from different threads would interleave
log.c