2018-03-29 18:31:49 +00:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
* Copyright(c) 2010-2018 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INCLUDE_THREAD_H_
|
|
|
|
#define _INCLUDE_THREAD_H_
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2018-03-29 18:31:51 +00:00
|
|
|
int
|
|
|
|
thread_pipeline_enable(uint32_t thread_id,
|
|
|
|
const char *pipeline_name);
|
|
|
|
|
|
|
|
int
|
|
|
|
thread_pipeline_disable(uint32_t thread_id,
|
|
|
|
const char *pipeline_name);
|
|
|
|
|
2018-03-29 18:31:49 +00:00
|
|
|
int
|
|
|
|
thread_init(void);
|
|
|
|
|
2018-03-29 18:31:50 +00:00
|
|
|
int
|
|
|
|
thread_main(void *arg);
|
|
|
|
|
2018-03-29 18:31:49 +00:00
|
|
|
#endif /* _INCLUDE_THREAD_H_ */
|