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