forked from xuos/xiuos
modify author description and fix bug of compiler errors,add readme for gap8
This commit is contained in:
@@ -27,10 +27,10 @@ static DoublelistType quant_table[SENSOR_QUANTITY_END];
|
||||
static DoublelistType sensor_device_list;
|
||||
|
||||
/* Sensor quantity list lock */
|
||||
static int quant_table_lock;
|
||||
static pthread_mutex_t quant_table_lock;
|
||||
|
||||
/* Sensor device list lock */
|
||||
static int sensor_device_list_lock;
|
||||
static pthread_mutex_t sensor_device_list_lock;
|
||||
|
||||
/**
|
||||
* @description: Init perception framework
|
||||
|
||||
@@ -61,6 +61,7 @@ extern "C" {
|
||||
// };
|
||||
|
||||
typedef int pid_t;
|
||||
// typedef int pthread_mutex_t ;
|
||||
|
||||
/* function in pthread.c */
|
||||
int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void));
|
||||
|
||||
Reference in New Issue
Block a user