29 lines
455 B
C
29 lines
455 B
C
|
/* SPDX-License-Identifier: BSD-3-Clause
|
||
|
* Copyright(c) 2020 Intel Corporation
|
||
|
*/
|
||
|
|
||
|
#ifndef _INCLUDE_THREAD_H_
|
||
|
#define _INCLUDE_THREAD_H_
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#include "obj.h"
|
||
|
|
||
|
int
|
||
|
thread_pipeline_enable(uint32_t thread_id,
|
||
|
struct obj *obj,
|
||
|
const char *pipeline_name);
|
||
|
|
||
|
int
|
||
|
thread_pipeline_disable(uint32_t thread_id,
|
||
|
struct obj *obj,
|
||
|
const char *pipeline_name);
|
||
|
|
||
|
int
|
||
|
thread_init(void);
|
||
|
|
||
|
int
|
||
|
thread_main(void *arg);
|
||
|
|
||
|
#endif /* _INCLUDE_THREAD_H_ */
|