Commit b8ba2fd44e3b28e28b5604f4784a927b2a8b7039

Con Kolivas 2011-07-19T09:54:50

Implement a per-pool mutex and use that for locking the internal flags.