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