mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-31 16:57:10 +00:00
Add the pthread_atfork() prototype.
Reviewed by: davidxu
This commit is contained in:
parent
4c1123c1c0
commit
8b813ec31c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122076
@ -196,6 +196,8 @@ enum pthread_mutextype {
|
||||
* Thread function prototype definitions:
|
||||
*/
|
||||
__BEGIN_DECLS
|
||||
int pthread_atfork(void (*prepare)(void), void (*parent)(void),
|
||||
void (*child)(void));
|
||||
int pthread_attr_destroy(pthread_attr_t *);
|
||||
int pthread_attr_getstack(const pthread_attr_t * __restrict,
|
||||
void ** __restrict stackaddr,
|
||||
|
Loading…
Reference in New Issue
Block a user