xref: /dpdk/examples/pipeline/thread.h (revision daa02b5cddbb8e11b31d41e2bf7bb1ae64dcae2f)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2020 Intel Corporation
3  */
4 
5 #ifndef _INCLUDE_THREAD_H_
6 #define _INCLUDE_THREAD_H_
7 
8 #include <stdint.h>
9 
10 #include "obj.h"
11 
12 int
13 thread_pipeline_enable(uint32_t thread_id,
14 	struct obj *obj,
15 	const char *pipeline_name);
16 
17 int
18 thread_pipeline_disable(uint32_t thread_id,
19 	struct obj *obj,
20 	const char *pipeline_name);
21 
22 int
23 thread_init(void);
24 
25 int
26 thread_main(void *arg);
27 
28 #endif /* _INCLUDE_THREAD_H_ */
29