Print this page
9842 man page typos and spelling

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man5/cancellation.5.man.txt
          +++ new/usr/src/man/man5/cancellation.5.man.txt
↓ open down ↓ 186 lines elided ↑ open up ↑
 187  187         enabled). Try to limit regions of asynchronous cancellation to
 188  188         sequences with no external dependencies that could result in dangling
 189  189         resources or unresolved state conditions. Using asynchronous
 190  190         cancellation is discouraged because of the danger involved in trying to
 191  191         guarantee correct cleanup handling at absolutely every point in the
 192  192         program.
 193  193  
 194  194  
 195  195  
 196  196  
 197      -       +------------------------------+------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+
 198      -       |Cancellation Type/State Table |                                                                                                            |                                                                                                                                                        |
 199      -       |Type                          | State                                                                                                      |                                                                                                                                                        |
 200      -       |                              | Enabled (Default)                                                                                          | Disabled                                                                                                                                               |
 201      -       +------------------------------+------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+
 202      -       |Deferred (Default)            | Cancellation occurs when the target thread reaches a cancellation point and a cancel is pending. (Default) | All cancellation requests to the target thread are held pending.                                                                                       |
 203      -       |Asynchronous                  | Receipt of a pthread_cancel() call causes immediate cancellation.                                          | All cancellation requests to the target thread are held pending; as soon as cancellation is re-enabled, pending cancellations are executedimmediately. |
 204      -       +------------------------------+------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------+
      197 +       +------------------------------+------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
      198 +       |Cancellation Type/State Table |                                                                                                            |                                                                                                                                                         |
      199 +       |Type                          | State                                                                                                      |                                                                                                                                                         |
      200 +       |                              | Enabled (Default)                                                                                          | Disabled                                                                                                                                                |
      201 +       +------------------------------+------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
      202 +       |Deferred (Default)            | Cancellation occurs when the target thread reaches a cancellation point and a cancel is pending. (Default) | All cancellation requests to the target thread are held pending.                                                                                        |
      203 +       |Asynchronous                  | Receipt of a pthread_cancel() call causes immediate cancellation.                                          | All cancellation requests to the target thread are held pending; as soon as cancellation is re-enabled, pending cancellations are executed immediately. |
      204 +       +------------------------------+------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
 205  205  
 206  206     Cancel-Safe
 207  207         With the arrival of POSIX cancellation, the Cancel-Safe level has been
 208  208         added to the list of MT-Safety levels. See attributes(5). An
 209  209         application or library is Cancel-Safe whenever it has arranged for
 210  210         cleanup handlers to restore system or program state wherever
 211  211         cancellation can occur. The application or library is specifically
 212  212         Deferred-Cancel-Safe when it is Cancel-Safe for threads whose
 213  213         cancellation type is PTHREAD_CANCEL_DEFERRED. See Cancellation State.
 214  214         It is specifically Asynchronous-Cancel-Safe when it is Cancel-Safe for
↓ open down ↓ 144 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX