Every implementation of "the lmax disrupter" I've come across uses this trick.