阅读背景:

数组如何安全地从一个线程传递到另一个线程?

来源:互联网 

I'm working with some audio processing which is not done on the main thread. My background thread repeatedly generates arrays of floats that my main thread will want to use to display something to the user. Will this be thread safe or is it oversimplified? Since this is in an OpenGL loop, I want to avoid blocking either thread with I'm working with some audio processing which is




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: