[boost] [RFC] C++ apparently lacks a mechanism for locking ranges of a shared resource