On-Line Library outdated?
Joel Sherrill
joel at rtems.org
Thu Jul 21 15:27:32 UTC 2016
There has been guidance written on what to use instead of notepads.
It looks like the texinfo version of the manual online hasn't been
regenerated
in a while. Any use of notepads or per-task variables should be replaced
with POSIX keys or Thread Local Storage (TLS) variables. Notepads
and per-task variables are inherently broken for SMP systems.
The malloc statistics structure hasn't had any guidance written but if
you look at the two structures, I think the fields you care about have
the same names. I thought someone from the EPICS community already
addressed this one.
--joel
On Thu, Jul 21, 2016 at 10:16 AM, Heinz Junkes <junkes at fhi-berlin.mpg.de>
wrote:
> Dear all,
>
> I try to port EPICS 3.15 to RTEMS 4.12. Is there a “translation" table
> available like
>
> old - calls -> new - calls
>
> e.g.
> malloc_get_statistics(&s) -> _Protect_heap_get_information
> (RTEMS_Malloc_Heap, &info)
> rtems_task_set_note (tid, RTEMS_NOTEPAD_TASKVAR, note) -> ???
>
> On
> https://docs.rtems.org/doc-current/share/rtems/html/c_user/Task-Manager-Introduction.html#Task-Manager-Introduction
> one can still find deprecated and now removed functions like
> rtems_task_get/set_note :
>
> "
> 6.1 Introduction
>
> The task manager provides a comprehensive set of directives to create,
> delete, and administer tasks. The directives provided by the task manager
> are:
>
> • rtems_task_create - Create a task
> • rtems_task_ident - Get ID of a task
> • rtems_task_self - Obtain ID of caller
> • rtems_task_start - Start a task
> • rtems_task_restart - Restart a task
> • rtems_task_delete - Delete a task
> • rtems_task_suspend - Suspend a task
> • rtems_task_resume - Resume a task
> • rtems_task_is_suspended - Determine if a task is suspended
> • rtems_task_set_priority - Set task priority
> • rtems_task_mode - Change current task’s mode
> • rtems_task_get_note - Get task notepad entry
> • rtems_task_set_note - Set task notepad entry
> • rtems_task_wake_after - Wake up after interval
> • rtems_task_wake_when - Wake up when specified
> • rtems_iterate_over_all_threads - Iterate Over Tasks
> • rtems_task_variable_add - Associate per task variable
> • rtems_task_variable_get - Obtain value of a a per task variable
> • rtems_task_variable_delete - Remove per task variable
>
> “
>
> Is the doxygen output (
> https://docs.rtems.org/doxygen/cpukit/html/modules.html) the real and
> only to use info?
>
> Heinz
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160721/473df131/attachment-0002.html>
More information about the users
mailing list