Changeset 9980ff2 in rtems-docs


Ignore:
Timestamp:
Nov 21, 2018, 5:04:12 PM (5 months ago)
Author:
Marçal Comajoan Cara <mcomajoancara@…>
Branches:
master
Children:
96064e8
Parents:
5278c7f
git-author:
Marçal Comajoan Cara <mcomajoancara@…> (11/21/18 17:04:12)
git-committer:
Joel Sherrill <joel@…> (11/21/18 18:08:41)
Message:

posix-users/thread_cancellation.rst: Add Prototypes

Add Prototypes to Thread Cancellation APIs.

This work was part of GCI 2018.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • posix-users/thread_cancellation.rst

    r5278c7f r9980ff2  
    5656.. code-block:: c
    5757
     58    #include <pthread.h>
    5859    int pthread_cancel(
     60        pthread_t thread
    5961    );
    6062
     
    8284.. code-block:: c
    8385
     86    #include <pthread.h>
    8487    int pthread_setcancelstate(
     88        int state,
     89        int *oldstate
    8590    );
    8691
     
    108113.. code-block:: c
    109114
     115    #include <pthread.h>
    110116    int pthread_setcanceltype(
     117        int type,
     118        int *oldtype
    111119    );
    112120
     
    134142.. code-block:: c
    135143
    136     int pthread_testcancel(
     144    #include <pthread.h>
     145    void pthread_testcancel(
     146        void
    137147    );
    138148
     
    160170.. code-block:: c
    161171
    162     int pthread_cleanup_push(
     172    #include <pthread.h>
     173    void pthread_cleanup_push(
     174        void (*routine)(void*),
     175        void *arg
    163176    );
    164177
     
    186199.. code-block:: c
    187200
    188     int pthread_cleanup_push(
    189     );
    190 
    191 **STATUS CODES:**
    192 
    193 .. list-table::
    194  :class: rtems-table
    195 
    196  * - ``E``
    197    - The
    198 
    199 **DESCRIPTION:**
    200 
    201 **NOTES:**
     201    #include <pthread.h>
     202    void pthread_cleanup_pop(
     203        int execute
     204    );
     205
     206**STATUS CODES:**
     207
     208.. list-table::
     209 :class: rtems-table
     210
     211 * - ``E``
     212   - The
     213
     214**DESCRIPTION:**
     215
     216**NOTES:**
Note: See TracChangeset for help on using the changeset viewer.