| Index: third_party/tcmalloc/chromium/src/maybe_threads.h
|
| diff --git a/third_party/tcmalloc/chromium/src/maybe_threads.h b/third_party/tcmalloc/chromium/src/maybe_threads.h
|
| index 5f35e00cdf58c9527c400504d23aa47f8b6248db..bc28e5eaf513604711eb5d50c992d9d9a15ded2b 100644
|
| --- a/third_party/tcmalloc/chromium/src/maybe_threads.h
|
| +++ b/third_party/tcmalloc/chromium/src/maybe_threads.h
|
| @@ -49,4 +49,11 @@ int perftools_pthread_setspecific(pthread_key_t key, void *val);
|
| int perftools_pthread_once(pthread_once_t *ctl,
|
| void (*init_routine) (void));
|
|
|
| +// Our wrapper for pthread_atfork. Does _nothing_ when there are no
|
| +// threads. See static_vars.cc:SetupAtForkLocksHandler for only user
|
| +// of this.
|
| +void perftools_pthread_atfork(void (*before)(),
|
| + void (*parent_after)(),
|
| + void (*child_after)());
|
| +
|
| #endif /* GOOGLE_MAYBE_THREADS_H_ */
|
|
|