diff options
author | Ryo Nakamura <upa@haeena.net> | 2023-03-13 22:35:51 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2023-03-13 22:35:51 +0900 |
commit | 5f9f20f15006fab8065780eda52f32f14bb3935c (patch) | |
tree | e524527cb0994d5905690a457d3292789d0fc410 /src/main.c | |
parent | ceb9ebd5a8ee6e013cf05b51a5a0ca2aac1ff3ee (diff) |
mscp_prepare() scans source paths in a thread.
This commit runs mscp_prepare() in a pthread. mscp copy threads
run aysnchronously with mscp_prepare(). So, when mscp_prepare()
has not finished yet (due to too many source files), we can start
to copy files.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -358,7 +358,7 @@ int main(int argc, char **argv) } if (dryrun) { - ret = 0; + ret = mscp_prepare_join(m); goto out; } |