]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - repair/threads.h
1 #ifndef _XFS_REPAIR_THREADS_H_
2 #define _XFS_REPAIR_THREADS_H_
4 void thread_init(void);
8 typedef void work_func_t(struct work_queue
*, xfs_agnumber_t
, void *);
10 typedef struct work_item
{
11 struct work_item
*next
;
12 work_func_t
*function
;
13 struct work_queue
*queue
;
18 typedef struct work_queue
{
19 work_item_t
*next_item
;
20 work_item_t
*last_item
;
26 pthread_cond_t wakeup
;
47 #endif /* _XFS_REPAIR_THREADS_H_ */