#4436 new enhancement

Libbsd needs ability to configure network task priority

Reported by: Vijay Kumar Banerjee Owned by:
Priority: normal Milestone:
Component: admin Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The libbsd currently doesn't support configuring network task priorities that can be used with network services that are used by all network stacks, an example of such network service is telnetd.

Change History (1)

comment:1 Changed on 05/21/21 at 06:04:39 by Sebastian Huber

We have two function in libbsd which may be provided by the application to customize threads created by libbsd:

/**
 * @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);
Note: See TracTickets for help on using tickets.