Add simple double buffer implementation tailored to handle msg_t, i.e invoke msg_t::close instead of destructor and so on. Seems to me mutex is good enough at this point.