mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
acc83ccfce
Differential Revision: https://phabricator.services.mozilla.com/D221387
22 lines
873 B
C
22 lines
873 B
C
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
#ifndef __mozilla_pthread_atfork_h_
|
|
#define __mozilla_pthread_atfork_h_
|
|
|
|
#if defined(MOZ_ENABLE_FORKSERVER)
|
|
|
|
# if defined(__GLIBC__) && !defined(__UCLIBC__)
|
|
// We really are using glibc, not uClibc pretending to be glibc.
|
|
# define LIBC_GLIBC 1
|
|
# endif
|
|
|
|
extern MFBT_API void run_moz_pthread_atfork_handlers_prefork();
|
|
extern MFBT_API void run_moz_pthread_atfork_handlers_postfork_parent();
|
|
extern MFBT_API void run_moz_pthread_atfork_handlers_postfork_child();
|
|
|
|
#endif // defined(MOZ_ENABLE_FORKSERVER)
|
|
#endif // __mozilla_pthread_atfork_h_
|