summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/posix/threadsup.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-13 10:28:14 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 07:49:39 +0200
commitda82656065d09f7b6aa411ba361287afdd787204 (patch)
tree3a17cae7059c89d111642cb27a1cf55ded61f604 /cpukit/posix/include/rtems/posix/threadsup.h
parentscore: Avoid Giant lock for _Thread_Start() (diff)
downloadrtems-da82656065d09f7b6aa411ba361287afdd787204.tar.bz2
posix: Rework thread cancellation
Add Thread_Life_state::THREAD_LIFE_CHANGE_DEFERRED and rework the POSIX thread cancellation to use the thread life states. Update #2555. Update #2626.
Diffstat (limited to 'cpukit/posix/include/rtems/posix/threadsup.h')
-rw-r--r--cpukit/posix/include/rtems/posix/threadsup.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h
index 3a7cfbc6dc..51c9564c64 100644
--- a/cpukit/posix/include/rtems/posix/threadsup.h
+++ b/cpukit/posix/include/rtems/posix/threadsup.h
@@ -71,41 +71,8 @@ typedef struct {
* @brief Signal post-switch action in case signals are pending.
*/
Thread_Action Signal_action;
-
- /*******************************************************************/
- /*******************************************************************/
- /*************** POSIX Cancelability ***************/
- /*******************************************************************/
- /*******************************************************************/
-
- /** This is the cancelability state. */
- int cancelability_state;
- /** This is the cancelability type. */
- int cancelability_type;
- /** This indicates if a cancelation has been requested. */
- int cancelation_requested;
} POSIX_API_Control;
-/**
- * @brief POSIX thread exit shared helper.
- *
- * 16.1.5.1 Thread Termination, p1003.1c/Draft 10, p. 150
- *
- * This method is a helper routine which ensures that all
- * POSIX thread calls which result in a thread exiting will
- * do so in the same manner.
- *
- * @param[in] the_thread is a pointer to the thread exiting or being canceled
- * @param[in] value_ptr is a pointer the value to be returned by the thread
- *
- * NOTE: Key destructors are executed in the POSIX api delete extension.
- *
- */
-void _POSIX_Thread_Exit(
- Thread_Control *the_thread,
- void *value_ptr
-);
-
/** @} */
#ifdef __cplusplus