diff options
| author | Patrick Steinhardt <ps@pks.im> | 2016-06-20 17:44:04 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2016-06-20 19:32:59 +0200 |
| commit | faebc1c6eccacd9659d21f848a9e2be55de671c7 (patch) | |
| tree | 2354b2895cc7be0110e0093813253408e8f6af35 /src/pack-objects.c | |
| parent | 69c71f2917fede843789e783ab6fe0fcda68753a (diff) | |
| download | libgit2-faebc1c6eccacd9659d21f848a9e2be55de671c7.tar.gz | |
threads: split up OS-dependent thread code
Diffstat (limited to 'src/pack-objects.c')
| -rw-r--r-- | src/pack-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack-objects.c b/src/pack-objects.c index 11e13f7d4..29231e028 100644 --- a/src/pack-objects.c +++ b/src/pack-objects.c @@ -1186,7 +1186,7 @@ static int ll_find_deltas(git_packbuilder *pb, git_pobject **list, git_mutex_init(&p[i].mutex); git_cond_init(&p[i].cond); - ret = git_thread_create(&p[i].thread, NULL, + ret = git_thread_create(&p[i].thread, threaded_find_deltas, &p[i]); if (ret) { giterr_set(GITERR_THREAD, "unable to create thread"); |
