From 8f76bacc552f73ec5404d93aa9f9364ccec0583f Mon Sep 17 00:00:00 2001
From: Gregory Nutt
+ Non-standard extensions to VxWorks-like interfaces to support POSIX Cancellation Points.
+
This function obeys the semantics of pthread cancellation: - task deletion is deferred if cancellation is disabled or if deferred cancellation is supported (with cancellation points enabled). + task deletion is deferred if cancellation is disabled or if deferred cancellation is supported (with Cancellation Points enabled).
Input Parameters: @@ -708,7 +713,7 @@ No thread could be found corresponding to that specified by the given thread ID. Description:
-The task_testcancel()
function creates a cancellation point in the calling task.
+The task_testcancel()
function creates a Cancellation Point in the calling task.
The task_testcancel()
function has no effect if cancelability is disabled.
@@ -6225,7 +6230,7 @@ When cancelability is disabled, all cancellations are held pending in the target Either asychronrously or deferred. Asynchronous cancellations we be acted upon immediately (when enabled), interrupting the thread with its processing in an abritray state.
-When cancelability is deferred, all cancels are held pending in the target thread until the thread changes the cancelability type or a cancellation point function such as pthread_cancel()
.
When cancelability is deferred, all cancels are held pending in the target thread until the thread changes the cancelability type or a Cancellation Point function such as pthread_cancel()
.
Input Parameters: @@ -6352,7 +6357,7 @@ returned to indicate the error. Description:
-The pthread_testcancel()
function creates a cancellation point in the calling thread.
+The pthread_testcancel()
function creates a Cancellation Point in the calling thread.
The pthread_testcancel()
function has no effect if cancelability is disabled.
diff --git a/TODO b/TODO index 752e3b4d54..38557d8124 100644 --- a/TODO +++ b/TODO @@ -108,7 +108,7 @@ o Task/Scheduler (sched/) 2. They run in supervisor mode (if applicable), and 3. They do not obey any setup of PIC or address environments. Do they need to? - 4. In the case of task_delete() and pthread_cancel, these + 4. In the case of task_delete() and pthread_cancel(), these callbacks will run on the thread of execution and address context of the caller of task. That is very bad!