35 for( i = 0; i < this->builder_method_cnt; i++) {
36 if(this->builder_methods[i]) {
38 ret = this->builder_methods[i](this->initial_parameter);
46 if(this->initial_result) {
47 this->initial_result(ret);
58 pthread_join(tid, NULL);
71 memcpy(instance, parameter,
sizeof(*instance));
#define LL_BUILDER_FAILED
result code : error
This is API definition of builder action API.
void(* free)(EventInstance this)
#define LL_BUILDER_SUCCESS
result code : success
void builder_action_destruct(pthread_t tid)
deconstruct action
action builder, to call builder by other thread, create class for it
pthread_t builder_action_construct(builder_action_parameter_t *parameter)
construct action
static void * builder_action_run(void *this)
run action
#define DEBUG_ERRPRINT(...)
builder_action_parameter_t * BuilderAction