From cef56750eb5ce8a2aa31ff4e3bc038bc656a0d96 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 14 Dec 2015 11:47:47 +0100 Subject: Optional POSIX Cleanup initialization Update #2408. --- cpukit/posix/include/rtems/posix/cancel.h | 13 ------------- cpukit/posix/include/rtems/posix/threadsup.h | 4 ---- 2 files changed, 17 deletions(-) (limited to 'cpukit/posix/include/rtems') diff --git a/cpukit/posix/include/rtems/posix/cancel.h b/cpukit/posix/include/rtems/posix/cancel.h index 9e60c269ce..52bbcbccec 100644 --- a/cpukit/posix/include/rtems/posix/cancel.h +++ b/cpukit/posix/include/rtems/posix/cancel.h @@ -21,19 +21,6 @@ #include -/** - * @brief POSIX run thread cancelation. - * - * This support routine runs through the chain of cancel handlers that - * have been registered and executes them. - * - * @param[in] the_thread is a pointer to the thread whose cancelation handlers - * should be run - */ -void _POSIX_Threads_cancel_run( - Thread_Control *the_thread -); - /** * @brief POSIX evaluate thread cancelation and enable dispatch. * diff --git a/cpukit/posix/include/rtems/posix/threadsup.h b/cpukit/posix/include/rtems/posix/threadsup.h index bf80c6314a..55db35ddbd 100644 --- a/cpukit/posix/include/rtems/posix/threadsup.h +++ b/cpukit/posix/include/rtems/posix/threadsup.h @@ -85,10 +85,6 @@ typedef struct { int cancelability_type; /** This indicates if a cancelation has been requested. */ int cancelation_requested; - /** - * @brief LIFO list of cleanup contexts. - */ - struct _pthread_cleanup_context *last_cleanup_context; } POSIX_API_Control; /** -- cgit v1.2.3