retirar data race do Buffer_t.data