|
Ultralight C API 2.0.0
|
#include <Ultralight/CAPI/CAPI_ThreadFactory.h>
User-defined factory for creating new threads.
You should implement each of these callbacks, then pass an instance of this struct containing your callbacks to ulPlatformSetThreadFactory().
Public Attributes | |
| void * | user_data |
| A user-defined pointer passed to every callback (can be NULL). | |
| ULThreadFactoryCreateThreadCallback | create_thread |
| Called to create a new thread. | |
| ULThreadFactoryCreateThreadCallback create_thread |
Called to create a new thread.
| void* user_data |
A user-defined pointer passed to every callback (can be NULL).