|
Lines 30-36
Link Here
|
| 30 |
.\" |
30 |
.\" |
| 31 |
.\" $FreeBSD: src/share/man/man3/pthread.3,v 1.26 2004/04/08 23:04:54 simon Exp $ |
31 |
.\" $FreeBSD: src/share/man/man3/pthread.3,v 1.26 2004/04/08 23:04:54 simon Exp $ |
| 32 |
.\" |
32 |
.\" |
| 33 |
.Dd January 15, 2004 |
33 |
.Dd June 21, 2004 |
| 34 |
.Dt PTHREAD 3 |
34 |
.Dt PTHREAD 3 |
| 35 |
.Os |
35 |
.Os |
| 36 |
.Sh NAME |
36 |
.Sh NAME |
|
Lines 447-452
Link Here
|
| 447 |
.Ss Cleanup Routines |
447 |
.Ss Cleanup Routines |
| 448 |
.Bl -tag -width indent |
448 |
.Bl -tag -width indent |
| 449 |
.It Xo |
449 |
.It Xo |
|
|
450 |
.Ft int |
| 451 |
.Fo pthread_atfork |
| 452 |
.Fa "void \*[lp]*prepare\*[rp]\*[lp]void\*[rp]" |
| 453 |
.Fa "void \*[lp]*parent\*[rp]\*[lp]void\*[rp]" |
| 454 |
.Fa "void \*[lp]*child\*[rp]\*[lp]void\*[rp]" |
| 455 |
.Fc |
| 456 |
.Xc |
| 457 |
Register fork handlers |
| 458 |
.It Xo |
| 450 |
.Ft void |
459 |
.Ft void |
| 451 |
.Fn pthread_cleanup_pop "int execute" |
460 |
.Fn pthread_cleanup_pop "int execute" |
| 452 |
.Xc |
461 |
.Xc |
|
Lines 472-477
Link Here
|
| 472 |
functions and the thread functions. |
481 |
functions and the thread functions. |
| 473 |
Threaded applications are linked with one of these libraries. |
482 |
Threaded applications are linked with one of these libraries. |
| 474 |
.Sh SEE ALSO |
483 |
.Sh SEE ALSO |
|
|
484 |
.Xr pthread_atfork 3 , |
| 475 |
.Xr pthread_cleanup_pop 3 , |
485 |
.Xr pthread_cleanup_pop 3 , |
| 476 |
.Xr pthread_cleanup_push 3 , |
486 |
.Xr pthread_cleanup_push 3 , |
| 477 |
.Xr pthread_condattr_destroy 3 , |
487 |
.Xr pthread_condattr_destroy 3 , |