What Happened to _Thread_Close?
Gedare Bloom
gedare at rtems.org
Sat Jul 8 01:57:19 UTC 2023
Hi Joel,
_Thread_Close() was refactored into _Thread_Join() and _Thread_Cancel().
https://git.rtems.org/rtems/commit/?id=232147ddc12d45ff7872f72a790077c26fe5ca0a
-Gedare
On Fri, Jul 7, 2023 at 1:50 PM Joel Sherrill <joel at rtems.org> wrote:
>
> Hi
>
> Building the rtems-examples, the test fat_ramdisk gets a failure from rtems-tld because _Thread_Close is still listed in the ini files it uses.
>
> What symbols should be in the sections that currently have _Thread_Close?
>
> Small patch below my signature which just removes _Thread_Close references. I am assuming something may need to be added but I don't know what changed removed _Thread_Close.
>
> Thanks.
>
> ---joel
>
> diff --git a/linkers/rtems-score-thread.ini b/linkers/rtems-score-thread.ini
> index 974bcfd..a759f72 100644
> --- a/linkers/rtems-score-thread.ini
> +++ b/linkers/rtems-score-thread.ini
> @@ -5,7 +5,7 @@
> trace = _Thread_Handler_initialization, _Thread_Create_idle, _Thread_Start_multitasking
> trace = _Stack_Allocate, _Stack_Free, _Thread_Start
> trace = _Thread_Yield, _Thread_Set_life_protection
> -trace = _Thread_Kill_zombies, _Thread_Close
> +trace = _Thread_Kill_zombies
> trace = _Thread_Clear_state, _Thread_Set_state, _Thread_Load_environment
> trace = _Thread_Handler
> trace = _Thread_Get
> @@ -19,7 +19,7 @@ trace = _Stack_Allocate, _Thread_Start
> trace = _Thread_Restart, _Thread_Handler
>
> [rtems-score-thread-destroy]
> -trace = _Thread_Kill_zombies, _Thread_Close
> +trace = _Thread_Kill_zombies
>
> [rtems-score-thread-activity]
> trace = _Thread_Yield, _Thread_Set_life_protection
> @@ -38,7 +38,6 @@ _Thread_Start = Status_Control, Thread_Control*, const Thread_Entry_information*
> _Thread_Yield = void, Thread_Control*
> _Thread_Set_life_protection = Thread_Life_state, Thread_Life_state
> _Thread_Kill_zombies = void, void
> -_Thread_Close = void, Thread_Control*, Thread_Control*, Thread_Close_context*
> _Thread_Clear_state = States_Control, Thread_Control*, States_Control
> _Thread_Set_state = States_Control, Thread_Control*, States_Control
> _Thread_Load_environment = void, Thread_Control*
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list