source: rtems-docs/posix1003_1/thread_cancellation.rst @ 9aafb39

4.115
Last change on this file since 9aafb39 was 489740f, checked in by Chris Johns <chrisj@…>, on 05/20/16 at 02:47:09

Set SPDX License Identifier in each source file.

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