design_pattern_for_c  V 1.00
builder_action.c File Reference

Implement of builder_action, running construct on other thread. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "builder_action.h"
#include "dp_debug.h"
Include dependency graph for builder_action.c:

Go to the source code of this file.

Typedefs

typedef builder_action_parameter_tBuilderAction
 

Functions

BuilderAction private method
static void * builder_action_run (void *this)
 run action More...
 
BuilderAction public method
void builder_action_destruct (pthread_t tid)
 deconstruct action More...
 
pthread_t builder_action_construct (builder_action_parameter_t *parameter)
 construct action More...
 

Detailed Description

Implement of builder_action, running construct on other thread.

Definition in file builder_action.c.

Typedef Documentation

◆ BuilderAction

Definition at line 18 of file builder_action.c.

Function Documentation

◆ builder_action_construct()

pthread_t builder_action_construct ( builder_action_parameter_t parameter)

construct action

Definition at line 62 of file builder_action.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ builder_action_destruct()

void builder_action_destruct ( pthread_t  tid)

deconstruct action

Definition at line 56 of file builder_action.c.

Here is the caller graph for this function:

◆ builder_action_run()

static void * builder_action_run ( void *  this)
static

run action

Definition at line 30 of file builder_action.c.

Here is the caller graph for this function: