[boost] [thread] is this reverse_lock class a source of errors?