36 if ( the_thread == NULL ) {
37 #if defined(RTEMS_MULTIPROCESSING) 38 if ( _Thread_MP_Is_remote(
id ) ) {
47 entry.
Kinds.Numeric.argument = argument;
49 if ( the_thread == _Thread_Executing ) {
Thread entry information.
Thread_Start_information Start
Thread_Control * _Thread_Get(Objects_Id id, ISR_lock_Context *lock_context)
Gets a thread by its identifier.
CPU_Uint32ptr rtems_task_argument
This type is used to represent task argument values.
This status code indicates successful completion.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
This status code indicates that an object was in wrong state for the requested operation.
This header file defines the main parts of the Tasks Manager API.
void _Thread_Restart_self(Thread_Control *executing, const Thread_Entry_information *entry, ISR_lock_Context *lock_context) RTEMS_NO_RETURN
Restarts the currently executing thread.
This status code indicates that an object identifier was invalid.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
rtems_status_code rtems_task_restart(rtems_id id, rtems_task_argument argument)
%
This status code indicates that the operation was illegal on a remote object.
Inlined Routines from the Thread Handler.
union Thread_Entry_information::@25 Kinds
Thread entry data used by the adaptor to call the thread entry function with the right parameters...
Local ISR lock context for acquire and release pairs.
#define RTEMS_UNREACHABLE()
Tells the compiler that this program point is unreachable.
bool _Thread_Restart_other(Thread_Control *the_thread, const Thread_Entry_information *entry, ISR_lock_Context *lock_context)
Restarts the thread.