paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Functions
stdin.c File Reference

Functions

void stdin_task_register (struct stdin_task *sit, struct sched *s)
 

Function Documentation

◆ stdin_task_register()

void stdin_task_register ( struct stdin_task sit,
struct sched s 
)

Register a stdin task structure.

Parameters
sitThe stdin task structure to register.
sThe task will be added to this scheduler's task list.

This allocates a buffer tree pool for I/O, sets up sit and registers a task with sit as context pointer.