datacratic/soa — pull request #28 by oktal (2013-08-23 18:54:20+00:00)
Title: GcLock: write lock

This patch introduces a new type of lock in GcLock: writelock.

With that comes a new interface :

* enterWriteShared : mark the beginning of a write-side critical section ;
* lockWrite : block all writes and waits for all ongoing writes to finish ;
* writeBarrier : wait for all ongoing writes to finish