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:
parent
26a8a84ded
commit
2e50c232f7
2 changed files with 7 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue