Go to the source code of this file.
◆ av_executor_alloc()
Alloc executor.
- Parameters
-
callbacks | callback structure for executor |
thread_count | worker thread number, 0 for run on caller's thread directly |
- Returns
- return the executor
Definition at line 142 of file executor.c.
◆ av_executor_free()
Free executor.
- Parameters
-
Definition at line 184 of file executor.c.
◆ av_executor_execute()
Add task to executor.
- Parameters
-
e | pointer to executor |
t | pointer to task. If NULL, it will wakeup one work thread |
Definition at line 195 of file executor.c.