35 if ( the_thread == NULL ) {
36 #if defined(RTEMS_MULTIPROCESSING) 37 return _RTEMS_tasks_MP_Suspend(
id );
This status code indicates that the thread was already suspended.
#define _ISR_lock_ISR_enable(_context)
Restores the saved interrupt state of the ISR lock context.
Thread_Control * _Thread_Get(Objects_Id id, ISR_lock_Context *lock_context)
Gets a thread by its identifier.
This status code indicates successful completion.
static __inline__ Per_CPU_Control * _Thread_Dispatch_disable_critical(const ISR_lock_Context *lock_context)
Disables thread dispatching inside a critical section (interrupts disabled).
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
rtems_status_code rtems_task_suspend(rtems_id id)
%
static __inline__ bool _States_Is_suspended(States_Control the_states)
Checks if SUSPENDED state is set.
void _Thread_Dispatch_enable(Per_CPU_Control *cpu_self)
Enables thread dispatching.
States_Control _Thread_Set_state(Thread_Control *the_thread, States_Control state)
Sets the specified thread state.
This status code indicates that an object identifier was invalid.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
Inlined Routines from the Thread Handler.
Local ISR lock context for acquire and release pairs.
Classic Tasks Manager Implementation.