RTEMS  5.1
Data Structures | Macros | Functions
threadrestart.c File Reference

Restart Thread. More...

#include <rtems/score/threadimpl.h>
#include <rtems/score/apimutex.h>
#include <rtems/score/assert.h>
#include <rtems/score/chainimpl.h>
#include <rtems/score/isrlock.h>
#include <rtems/score/schedulerimpl.h>
#include <rtems/score/stackimpl.h>
#include <rtems/score/sysstate.h>
#include <rtems/score/threadqimpl.h>
#include <rtems/score/userextimpl.h>
#include <rtems/score/watchdogimpl.h>
#include <rtems/score/wkspace.h>

Data Structures

struct  Thread_Zombie_control
 
struct  Thread_Join_context
 

Macros

#define THREAD_JOIN_TQ_OPERATIONS   &_Thread_queue_Operations_priority
 

Functions

void _Thread_Kill_zombies (void)
 Kills all zombie threads in the system. More...
 
void _Thread_Join (Thread_Control *the_thread, States_Control waiting_for_join, Thread_Control *executing, Thread_queue_Context *queue_context)
 Joins the currently executing thread with the given thread to wait for. More...
 
void _Thread_Cancel (Thread_Control *the_thread, Thread_Control *executing, void *exit_value)
 Cancels the thread. More...
 
void _Thread_Close (Thread_Control *the_thread, Thread_Control *executing, Thread_Close_context *context)
 Closes the thread. More...
 
void _Thread_Exit (Thread_Control *executing, Thread_Life_state set, void *exit_value)
 Exits the currently executing thread. More...
 
bool _Thread_Restart_other (Thread_Control *the_thread, const Thread_Entry_information *entry, ISR_lock_Context *lock_context)
 Restarts the thread. More...
 
void _Thread_Restart_self (Thread_Control *executing, const Thread_Entry_information *entry, ISR_lock_Context *lock_context)
 Restarts the currently executing thread. More...
 
Thread_Life_state _Thread_Change_life (Thread_Life_state clear, Thread_Life_state set, Thread_Life_state ignore)
 Changes the currently executing thread to a new state with the sets. More...
 
Thread_Life_state _Thread_Set_life_protection (Thread_Life_state state)
 Set the thread to life protected. More...
 

Detailed Description

Restart Thread.