Go to the source code of this file.
Classes | |
| class | ZFPInterface_ZFThread |
| protocol for ZFThread More... | |
| class | ZFThreadMainThread |
| see ZFThread More... | |
Typedefs | |
| typedef void *(* | ZFMainThreadTaskImplCallbackExecute) (const ZFListener &runnable) |
| see ZFMainThreadTaskImplSet | |
| typedef void(* | ZFMainThreadTaskImplCallbackCleanup) (void *nativeToken) |
| see ZFMainThreadTaskImplSet | |
Functions | |
| void | ZFMainThreadTaskImplSet (ZFMainThreadTaskImplCallbackExecute executeImpl, ZFMainThreadTaskImplCallbackCleanup cleanupImpl=zft_zfnull) |
| set custom impl for ZFThread::taskQueueAdd for main thread | |
| ZFMainThreadTaskImplCallbackExecute | ZFMainThreadTaskImplGetExecute (void) |
| see ZFMainThreadTaskImplSet | |
| ZFMainThreadTaskImplCallbackCleanup | ZFMainThreadTaskImplGetCleanup (void) |
| see ZFMainThreadTaskImplSet | |
protocol for ZFThread
|
extern |
set custom impl for ZFThread::taskQueueAdd for main thread
main thread is a special case for thread task management, in ZFFramework, there are mainly two way of main thread task management:
whether the custom impl would be used, depends on the ZFThread protocol impl