#include <oskit/hpfq.h>oskit_error_t pfq_sched_add_child(pfq_sched_t *sched, pfq_sched_t *child, float share);
This method attaches a child pfq_sched object to a parent and assigns it an initial share of the parent. The share can be later adjusted with the set_share method if needed.
- sched
- The parent pfq_sched object.
- child
- The child being added.
- share
- The initial share value of the child. See Section 28.3 for details on share values.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.