TextRenderComponent dynamic batch

I want to use TextRenderComponent. I try to write my own dynamic batch, but the connection between game thread and render thread is so complicated,link errors always happen.