RTEMS CPU Kit with SuperCore
Functions
canceleval.c File Reference

POSIX Function Evaluates Thread Cancellation and Enables Dispatch. More...

#include <pthread.h>
#include <rtems/system.h>
#include <rtems/score/thread.h>
#include <rtems/posix/cancel.h>
#include <rtems/posix/pthreadimpl.h>
Include dependency graph for canceleval.c:

Functions

void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch (Thread_Control *the_thread)
 POSIX evaluate thread cancelation and enable dispatch. More...
 

Detailed Description

POSIX Function Evaluates Thread Cancellation and Enables Dispatch.

Function Documentation

◆ _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch()

void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch ( Thread_Control the_thread)

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.

Parameters
[in]the_threadis a pointer to the thread to evaluate canceling

References _Objects_Put(), _POSIX_Thread_Exit(), _Thread_Unnest_dispatch(), Thread_Control::API_Extensions, POSIX_API_Control::cancelability_state, POSIX_API_Control::cancelability_type, POSIX_API_Control::cancelation_requested, Thread_Control::Object, and THREAD_API_POSIX.