
1. delete some junk files. 2. mqttclient added comments and updated to v1.0.2. 3. update README.md. 4. update the author's own server certificate. 5. minor changes to salof.
29 lines
1012 B
C
29 lines
1012 B
C
/*
|
|
* @Author: jiejie
|
|
* @Github: https://github.com/jiejieTop
|
|
* @Date: 2019-12-15 18:31:44
|
|
* @LastEditTime : 2020-01-08 20:24:17
|
|
* @Description: the code belongs to jiejie, please keep the author information and source code according to the license.
|
|
*/
|
|
#ifndef _PLATFORM_THREAD_H_
|
|
#define _PLATFORM_THREAD_H_
|
|
|
|
#include "tos_k.h"
|
|
|
|
typedef struct platform_thread {
|
|
k_task_t thread;
|
|
} platform_thread_t;
|
|
|
|
platform_thread_t *platform_thread_init( const char *name,
|
|
void (*entry)(void *),
|
|
void * const param,
|
|
unsigned int stack_size,
|
|
unsigned int priority,
|
|
unsigned int tick);
|
|
void platform_thread_startup(platform_thread_t* thread);
|
|
void platform_thread_stop(platform_thread_t* thread);
|
|
void platform_thread_start(platform_thread_t* thread);
|
|
void platform_thread_destroy(platform_thread_t* thread);
|
|
|
|
#endif
|