1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:28:13 +00:00

LibPthread: Stub out pthread_atfork()

This commit is contained in:
AnotherTest 2021-02-13 14:38:54 +03:30 committed by Andreas Kling
parent 26a8a84ded
commit 2e50c232f7
2 changed files with 7 additions and 0 deletions

View file

@ -740,4 +740,9 @@ int pthread_rwlockattr_setpshared(pthread_rwlockattr_t*, int)
ASSERT_NOT_REACHED();
}
int pthread_atfork(void (*)(void), void (*)(void), void (*)(void))
{
ASSERT_NOT_REACHED();
}
} // extern "C"

View file

@ -145,4 +145,6 @@ int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t* __restrict, int* _
int pthread_rwlockattr_init(pthread_rwlockattr_t*);
int pthread_rwlockattr_setpshared(pthread_rwlockattr_t*, int);
int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void));
__END_DECLS