25 lines
520 B
C
25 lines
520 B
C
#ifndef K07_HOST_TASK_H
|
|
#define K07_HOST_TASK_H
|
|
|
|
#include "FreeRTOS.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void ( * TaskFunction_t )( void * );
|
|
BaseType_t xTaskCreate( TaskFunction_t entry,
|
|
const char * name,
|
|
configSTACK_DEPTH_TYPE stack_words,
|
|
void * context,
|
|
UBaseType_t priority,
|
|
TaskHandle_t * handle );
|
|
void vTaskDelete( TaskHandle_t handle );
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|