2013년 7월 22일 월요일 오후 2시 37분 28초 UTC+9, Fabrice Desre 님의 말: > On 07/21/2013 09:45 PM, Taewan Kim wrote: > > > > > > > > Do you mean there is no way to call a callback in main thread from another > > thread? > > > > There is a way, that I just gave you. You can also do it from chrome js > > (ie where you use js-ctypes) by using the Thread Manager to dispatch a > > runnable to the main thread. > > > > Fabrice > > -- > > Fabrice Desré > > b2g team > > Mozilla Corporation
sorry for my misunderstood. If so, would you please explain more detail? > You really have to dispatch your data to the callback on the main what's meaning "your data" > thread. In gecko c++, we use NS_DispatchToMainThread for that what's meaning of "gecko c++", I use js-ctype in js file in gecko. where can I implement runnable and how can I call NS_DisplatchTomainThread? Thanks. -- . _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
