Debian Codegraph @

src/tsn_thread.h

raw symbols SCIP
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3 * Copyright (C) 2021-2024 Linutronix GmbH
4 * Author Kurt Kanzenbach <[email protected]>
5 */
6
7 #ifndef _TSN_THREAD_H_
8 #define _TSN_THREAD_H_
9
10 #include <pthread.h>
11 #include <stdbool.h>
12 #include <stdint.h>
13
14 #include <linux/if_ether.h>
15
16 #include "security.h"
17 #include "stat.h"
18 #include "thread.h"
19
20 int tsn_high_threads_create(struct thread_context *thread_context);
21 void tsn_high_threads_stop(struct thread_context *thread_context);
22 void tsn_high_threads_free(struct thread_context *thread_context);
23 void tsn_high_threads_wait_for_finish(struct thread_context *thread_context);
24
25 int tsn_low_threads_create(struct thread_context *thread_context);
26 void tsn_low_threads_free(struct thread_context *thread_context);
27 void tsn_low_threads_wait_for_finish(struct thread_context *thread_context);
28
29 #endif /* _TSN_THREAD_H_ */