| 1 | /* SPDX-License-Identifier: BSD-2-Clause */ |
| 2 | /* |
| 3 | * Copyright (C) 2020-2024 Linutronix GmbH |
| 4 | * Author Kurt Kanzenbach <[email protected]> |
| 5 | */ |
| 6 | |
| 7 | #ifndef _UDP_THREAD_H_ |
| 8 | #define _UDP_THREAD_H_ |
| 9 | |
| 10 | #include <stdbool.h> |
| 11 | #include <stddef.h> |
| 12 | #include <stdint.h> |
| 13 | |
| 14 | #include <pthread.h> |
| 15 | |
| 16 | #include "stat.h" |
| 17 | #include "thread.h" |
| 18 | |
| 19 | int udp_low_threads_create(struct thread_context *thread_context); |
| 20 | void udp_low_threads_free(struct thread_context *thread_context); |
| 21 | void udp_low_threads_wait_for_finish(struct thread_context *thread_context); |
| 22 | |
| 23 | int udp_high_threads_create(struct thread_context *thread_context); |
| 24 | void udp_high_threads_free(struct thread_context *thread_context); |
| 25 | void udp_high_threads_wait_for_finish(struct thread_context *thread_context); |
| 26 | |
| 27 | #endif /* _UDP_THREAD_H_ */ |