mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-20 11:33:38 +08:00
Add and use rtems_bsd_get_task_stack_size()
This commit is contained in:
@@ -90,6 +90,19 @@ rtems_status_code rtems_bsd_initialize(void);
|
||||
*/
|
||||
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);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
Reference in New Issue
Block a user