source: rtems-docs/posix1003_1/thread_cancellation.rst @ ef0a063

4.115
Last change on this file since ef0a063 was ef0a063, checked in by Amar Takhar <amar@…>, on 01/17/16 at 00:14:55

Split document into seperate files by section.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1Thread Cancellation
2###################
3
4Thread Cancellation Overview
5============================
6
7Cancelability 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
17Cancellation Points
18-------------------
19
20Thread Cancellation Cleanup Handlers
21------------------------------------
22
23.. code:: c
24
25    PTHREAD_CANCELED, Constant, Unimplemented
26
27Async-Cancel Safety
28-------------------
29
30Thread Cancellation Functions
31=============================
32
33Canceling Execution of a Thread
34-------------------------------
35
36.. code:: c
37
38    pthread_cancel(), Function, Implemented
39
40Setting Cancelability State
41---------------------------
42
43.. code:: c
44
45    pthread_setcancelstate(), Function, Implemented
46    pthread_setcanceltype(), Function, Implemented
47    pthread_testcancel(), Function, Implemented
48
49Establishing Cancellation Handlers
50----------------------------------
51
52.. code:: c
53
54    pthread_cleanup_push(), Function, Implemented
55    pthread_cleanup_pop(), Function, Implemented
56
57Language-Independent Cancellation Functionality
58===============================================
59
60Requesting Cancellation
61-----------------------
62
63Associating Cleanup Code With Scopes
64------------------------------------
65
66Controlling Cancellation Within Scopes
67--------------------------------------
68
69Defined Cancellation Sequence
70-----------------------------
71
72List of Cancellation Points
73---------------------------
74
75.. COMMENT: DO NOT EDIT - AUTOMATICALLY GENERATED!!!
76
Note: See TracBrowser for help on using the repository browser.