Well, it may be a good idea to put in other place instead, but its pretty safe.

`read_pos_` is a position where reader has stopped reading. `write_pos_` is a position at which writer will continue to write. If they're equal - setting them both to zero is ok.