mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Fix io_flush_thread() to wait for in-flight writer tasks before returning
This commit is contained in:
parent
d592cccffb
commit
e5246cc309
2 changed files with 12 additions and 3 deletions
|
|
@ -74,6 +74,7 @@ struct snapraid_task {
|
|||
struct snapraid_worker {
|
||||
#if HAVE_THREAD
|
||||
thread_id_t thread; /**< Thread context for the worker. */
|
||||
int busy; /**< A task is currently being processed. */
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue