From da82656065d09f7b6aa411ba361287afdd787204 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 13 May 2016 10:28:14 +0200 Subject: 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. --- cpukit/posix/include/rtems/posix/cancel.h | 37 ------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 cpukit/posix/include/rtems/posix/cancel.h (limited to 'cpukit/posix/include/rtems/posix/cancel.h') diff --git a/cpukit/posix/include/rtems/posix/cancel.h b/cpukit/posix/include/rtems/posix/cancel.h deleted file mode 100644 index 52bbcbccec..0000000000 --- a/cpukit/posix/include/rtems/posix/cancel.h +++ /dev/null @@ -1,37 +0,0 @@ -/** - * @file - * - * @brief POSIX Thread Cancelation Support - * - * This file contains the prototypes and data types used to implement - * POSIX thread cancelation. - */ - -/* - * COPYRIGHT (c) 1989-2009. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifndef _RTEMS_POSIX_CANCEL_H -#define _RTEMS_POSIX_CANCEL_H - -#include - -/** - * @brief POSIX evaluate thread cancelation and enable dispatch. - * - * This routine separates a piece of code that existed as part of - * another routine, but had to be separated to improve coverage. - * - * @param[in] the_thread is a pointer to the thread to evaluate canceling - */ -void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch ( - Thread_Control *the_thread -); - -#endif -/* end of include file */ -- cgit v1.2.3