1 | Thread Cancellation |
---|
2 | ################### |
---|
3 | |
---|
4 | Thread Cancellation Overview |
---|
5 | ============================ |
---|
6 | |
---|
7 | Cancelability States |
---|
8 | -------------------- |
---|
9 | |
---|
10 | .. code:: c |
---|
11 | |
---|
12 | PTHREAD_CANCEL_DISABLE, Constant, Implemented |
---|
13 | PTHREAD_CANCEL_ENABLE, Constant, Implemented |
---|
14 | PTHREAD_CANCEL_ASYNCHRONOUS, Constant, Implemented |
---|
15 | PTHREAD_CANCEL_DEFERRED, Constant, Implemented |
---|
16 | |
---|
17 | Cancellation Points |
---|
18 | ------------------- |
---|
19 | |
---|
20 | Thread Cancellation Cleanup Handlers |
---|
21 | ------------------------------------ |
---|
22 | |
---|
23 | .. code:: c |
---|
24 | |
---|
25 | PTHREAD_CANCELED, Constant, Unimplemented |
---|
26 | |
---|
27 | Async-Cancel Safety |
---|
28 | ------------------- |
---|
29 | |
---|
30 | Thread Cancellation Functions |
---|
31 | ============================= |
---|
32 | |
---|
33 | Canceling Execution of a Thread |
---|
34 | ------------------------------- |
---|
35 | |
---|
36 | .. code:: c |
---|
37 | |
---|
38 | pthread_cancel(), Function, Implemented |
---|
39 | |
---|
40 | Setting Cancelability State |
---|
41 | --------------------------- |
---|
42 | |
---|
43 | .. code:: c |
---|
44 | |
---|
45 | pthread_setcancelstate(), Function, Implemented |
---|
46 | pthread_setcanceltype(), Function, Implemented |
---|
47 | pthread_testcancel(), Function, Implemented |
---|
48 | |
---|
49 | Establishing Cancellation Handlers |
---|
50 | ---------------------------------- |
---|
51 | |
---|
52 | .. code:: c |
---|
53 | |
---|
54 | pthread_cleanup_push(), Function, Implemented |
---|
55 | pthread_cleanup_pop(), Function, Implemented |
---|
56 | |
---|
57 | Language-Independent Cancellation Functionality |
---|
58 | =============================================== |
---|
59 | |
---|
60 | Requesting Cancellation |
---|
61 | ----------------------- |
---|
62 | |
---|
63 | Associating Cleanup Code With Scopes |
---|
64 | ------------------------------------ |
---|
65 | |
---|
66 | Controlling Cancellation Within Scopes |
---|
67 | -------------------------------------- |
---|
68 | |
---|
69 | Defined Cancellation Sequence |
---|
70 | ----------------------------- |
---|
71 | |
---|
72 | List of Cancellation Points |
---|
73 | --------------------------- |
---|
74 | |
---|
75 | .. COMMENT: DO NOT EDIT - AUTOMATICALLY GENERATED!!! |
---|
76 | |
---|