35 if ( the_thread == NULL ) {
36 #if defined(RTEMS_MULTIPROCESSING) 37 if ( _Thread_MP_Is_remote(
id ) ) {
45 executing = _Thread_Executing;
47 if ( the_thread == executing ) {
59 THREAD_LIFE_TERMINATING | THREAD_LIFE_DETACHED,
void _Thread_Close(Thread_Control *the_thread, Thread_Control *executing, Thread_Close_context *context)
Closes the thread.
static __inline__ Per_CPU_Control * _Thread_queue_Dispatch_disable(Thread_queue_Context *queue_context)
Disables dispatching in a critical section.
void _Thread_Exit(Thread_Control *executing, Thread_Life_state set, void *exit_value)
Exits the currently executing thread.
static __inline__ void _Thread_queue_Context_initialize(Thread_queue_Context *queue_context)
Initializes a thread queue context.
#define _ISR_lock_ISR_enable(_context)
Restores the saved interrupt state of the ISR lock context.
rtems_status_code rtems_task_delete(rtems_id id)
%
Thread_Control * _Thread_Get(Objects_Id id, ISR_lock_Context *lock_context)
Gets a thread by its identifier.
This status code indicates successful completion.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Thread_queue_Lock_context Lock_context
The lock context for the thread queue acquire and release operations.
void _Thread_Dispatch_enable(Per_CPU_Control *cpu_self)
Enables thread dispatching.
This status code indicates that an object identifier was invalid.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
This status code indicates that the operation was illegal on a remote object.
Inlined Routines from the Thread Handler.
ISR_lock_Context Lock_context
The lock context for the thread queue acquire and release operations.
Classic Tasks Manager Implementation.