1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2023 Red Hat
9 #include <linux/atomic.h>
11 /* Thread and synchronization utilities */
15 void vdo_initialize_threads_mutex(void);
16 int __must_check
vdo_create_thread(void (*thread_function
)(void *), void *thread_data
,
17 const char *name
, struct thread
**new_thread
);
18 void vdo_join_threads(struct thread
*thread
);
20 #endif /* UDS_THREADS_H */