How to share an Arc> between threads?

前端 未结 0 1454
情歌与酒
情歌与酒 2021-01-29 22:33

I\'m trying to design a simple struct that can run a thread of its own. My use case is a video decoder. I create the struct, set the on_produce function, and then i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题