看板
[ MacDev ]
討論串[問題] 從 main thread perform 其他的 thread
共 10 篇文章
內容預覽:
所以我應該在這個裡面開一個runloop, 如果我理解沒錯的話,. 1. 加上main thread的runloop 就有兩個囉?. 2. 還是說要將這stram的thread加入main thread的runloop (@_@ 繞口令XD)?. 如果是"1" 我在網路上找到一個範例:. - (vo
(還有471個字)
內容預覽:
我們來讀一下文件,performSelector:onThread:withObject:waitUntilDone:. 的解釋這麼說:. This method queues the message on the run loop of the target. thread using the d
(還有448個字)
內容預覽:
小弟有一段code如下, 請各位先進給我一點意見:. - (void)RunVideoStream:(id)destView. {. videoStream = [[myStream alloc] init];. videoStream.channel = 0;. xxx. streamThread
(還有862個字)