|
Foxit PDF SDK
|
Thread handler for application extension. More...
Public Attributes | |
| FX_HTHREAD(* | CreateThread )(FX_LPVOID pUserData, FX_INT32 nPriority, size_t szStack, FX_CALLBACK_ThreadProc lpfThreadProc, FX_LPVOID param) |
| Callback function to create a thread. More... | |
| FX_BOOL(* | ExitThread )(FX_LPVOID pUserData) |
| Callback function to exit from the current thread. More... | |
| FX_HTHREAD(* | GetCurrentThread )(FX_LPVOID pUserData) |
| Callback function to get handle of the current thread. More... | |
| FX_INT32(* | GetThreadPriority )(FX_LPVOID pUserData, FX_HTHREAD hThread) |
| Callback function to get thread priority. More... | |
| FX_LPVOID | pUserData |
| Pointer to user data. | |
| void(* | SetThreadPriority )(FX_LPVOID pUserData, FX_HTHREAD hThread, FX_INT32 nPriority) |
| Callback function to set thread priority. More... | |
| FX_INT32(* | WaitForMultipleThreads )(FX_LPVOID pUserData, const FX_HTHREAD *pThreads, FX_INT32 nCount) |
| Wait for termination of multiple threads. More... | |
| FX_INT32(* | WaitForSingleThread )(FX_LPVOID pUserData, FX_HTHREAD hThread) |
| Wait for termination of a single thread. More... | |
| void(* | Yield )(FX_LPVOID pUserData) |
| Callback function to change CPU time to another thread. More... | |
Thread handler for application extension.
| FX_HTHREAD(* FX_THREADHANDLER::CreateThread) (FX_LPVOID pUserData, FX_INT32 nPriority, size_t szStack, FX_CALLBACK_ThreadProc lpfThreadProc, FX_LPVOID param) |
Callback function to create a thread.
| [in] | pUserData | Pointer to user data. |
| [in] | nPriority | Thread priority, set to 0 at default. |
| [in] | szStack | Stack size for thread, set to 0 at default. |
| [in] | lpfThreadProc | Function address for thread procedure. |
| [in] | param | User parameters passed to thread procedure. |
Callback function to exit from the current thread.
| [in] | pUserData | Pointer to user data. |
Callback function to get handle of the current thread.
| [in] | pUserData | Pointer to user data. |
Callback function to get thread priority.
| [in] | pUserData | Pointer to user data. |
| [in] | hThread | Thread handle specifies a thread to retrieve its priority. |
| void(* FX_THREADHANDLER::SetThreadPriority) (FX_LPVOID pUserData, FX_HTHREAD hThread, FX_INT32 nPriority) |
Callback function to set thread priority.
| [in] | pUserData | Pointer to user data. |
| [in] | hThread | Thread handle specifies a thread to set its priority. |
| [in] | nPriority | Thread priority code. |
| FX_INT32(* FX_THREADHANDLER::WaitForMultipleThreads) (FX_LPVOID pUserData, const FX_HTHREAD *pThreads, FX_INT32 nCount) |
Wait for termination of multiple threads.
| [in] | pUserData | Pointer to user data. |
| [in] | pThreads | Pointer to array of thread handles. |
| [in] | nCount | Number of threads in array. |
Wait for termination of a single thread.
| [in] | pUserData | Pointer to user data. |
| [in] | hThread | Thread handle specifies a thread to wait. |
Callback function to change CPU time to another thread.
| [in] | pUserData | Pointer to user data. |