diff options
| author | Junio C Hamano <gitster@pobox.com> | 2010-05-21 04:02:16 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-05-21 04:02:16 -0700 |
| commit | ea5f75a64ae52590b06713d45d84de03ca109ccc (patch) | |
| tree | 3d7e604cb897afd9b8bcf7ed413e86d193cab40a /thread-utils.h | |
| parent | Merge branch 'sr/remote-helper-export' (diff) | |
| parent | Thread-safe xmalloc and xrealloc needs a recursive mutex (diff) | |
| download | git-ea5f75a64ae52590b06713d45d84de03ca109ccc.tar.gz git-ea5f75a64ae52590b06713d45d84de03ca109ccc.zip | |
Merge branch 'np/malloc-threading'
* np/malloc-threading:
Thread-safe xmalloc and xrealloc needs a recursive mutex
Make xmalloc and xrealloc thread-safe
Diffstat (limited to 'thread-utils.h')
| -rw-r--r-- | thread-utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/thread-utils.h b/thread-utils.h index cce4b77bd6..1727a03333 100644 --- a/thread-utils.h +++ b/thread-utils.h @@ -2,5 +2,6 @@ #define THREAD_COMPAT_H extern int online_cpus(void); +extern int init_recursive_mutex(pthread_mutex_t*); #endif /* THREAD_COMPAT_H */ |
