[RTEMS Project] #4436: Libbsd needs ability to configure network task priority

RTEMS trac trac at rtems.org
Fri May 21 06:04:39 UTC 2021


#4436: Libbsd needs ability to configure network task priority
----------------------------------+---------------------
 Reporter:  Vijay Kumar Banerjee  |       Owner:  (none)
     Type:  enhancement           |      Status:  new
 Priority:  normal                |   Milestone:
Component:  admin                 |     Version:
 Severity:  normal                |  Resolution:
 Keywords:                        |  Blocked By:
 Blocking:                        |
----------------------------------+---------------------

Comment (by Sebastian Huber):

 We have two function in libbsd which may be provided by the application to
 customize threads created by libbsd:
 {{{
 #!c
 /**
  * @brief Returns the initial priority for a task specified by its name.
  *
  * Applications may provide their own implementation of this function.
 For
  * example they can define their implementation in the same module which
 calls
  * rtems_bsd_initialize().
  *
  * @param[in] name The task name.
  *
  * @return The desired initial task priority.
  */
 rtems_task_priority rtems_bsd_get_task_priority(const char *name);

 /**
  * @brief Returns the stack size for a task specified by its name.
  *
  * Applications may provide their own implementation of this function.
 For
  * example they can define their implementation in the same module which
 calls
  * rtems_bsd_initialize().
  *
  * @param[in] name The task name.
  *
  * @return The desired task stack size.
  */
 size_t rtems_bsd_get_task_stack_size(const char *name);
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4436#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list