Skip to content

Commit

Permalink
Mariabackup: Detach the threads at exit
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Sep 6, 2017
1 parent 2b38785 commit b429e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extra/mariabackup/backup_copy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1938,7 +1938,7 @@ decrypt_decompress_thread_func(void *arg)

ctxt->ret = ret;

os_thread_exit(NULL);
os_thread_exit();
OS_THREAD_DUMMY_RETURN;
}

Expand Down
2 changes: 1 addition & 1 deletion extra/mariabackup/backup_mysql.cc
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ kill_query_thread(

os_event_set(kill_query_thread_stopped);

os_thread_exit(NULL);
os_thread_exit();
OS_THREAD_DUMMY_RETURN;
}

Expand Down

0 comments on commit b429e8c

Please sign in to comment.