1 | @c |
---|
2 | @c COPYRIGHT (c) 1988-1999. |
---|
3 | @c On-Line Applications Research Corporation (OAR). |
---|
4 | @c All rights reserved. |
---|
5 | @c |
---|
6 | @c $Id$ |
---|
7 | @c |
---|
8 | |
---|
9 | @chapter Thread Cancellation |
---|
10 | |
---|
11 | @section Thread Cancellation Overview |
---|
12 | |
---|
13 | @subsection Cancelability States |
---|
14 | |
---|
15 | @example |
---|
16 | PTHREAD_CANCEL_DISABLE, Constant, Implemented |
---|
17 | PTHREAD_CANCEL_ENABLE, Constant, Implemented |
---|
18 | PTHREAD_CANCEL_ASYNCHRONOUS, Constant, Implemented |
---|
19 | PTHREAD_CANCEL_DEFERRED, Constant, Implemented |
---|
20 | @end example |
---|
21 | |
---|
22 | @subsection Cancellation Points |
---|
23 | |
---|
24 | @subsection Thread Cancellation Cleanup Handlers |
---|
25 | |
---|
26 | @example |
---|
27 | PTHREAD_CANCELED, Constant, Unimplemented |
---|
28 | @end example |
---|
29 | |
---|
30 | @subsection Async-Cancel Safety |
---|
31 | |
---|
32 | @section Thread Cancellation Functions |
---|
33 | |
---|
34 | @subsection Canceling Execution of a Thread |
---|
35 | |
---|
36 | @example |
---|
37 | pthread_cancel(), Function, Implemented |
---|
38 | @end example |
---|
39 | |
---|
40 | @subsection Setting Cancelability State |
---|
41 | |
---|
42 | @example |
---|
43 | pthread_setcancelstate(), Function, Implemented |
---|
44 | pthread_setcanceltype(), Function, Implemented |
---|
45 | pthread_testcancel(), Function, Implemented |
---|
46 | @end example |
---|
47 | |
---|
48 | @subsection Establishing Cancellation Handlers |
---|
49 | |
---|
50 | @example |
---|
51 | pthread_cleanup_push(), Function, Implemented |
---|
52 | pthread_cleanup_pop(), Function, Implemented |
---|
53 | @end example |
---|
54 | |
---|
55 | @section Language-Independent Cancellation Functionality |
---|
56 | |
---|
57 | @subsection Requesting Cancellation |
---|
58 | |
---|
59 | @subsection Associating Cleanup Code With Scopes |
---|
60 | |
---|
61 | @subsection Controlling Cancellation Within Scopes |
---|
62 | |
---|
63 | @subsection Defined Cancellation Sequence |
---|
64 | |
---|
65 | @subsection List of Cancellation Points |
---|
66 | |
---|