MCPcopy Create free account
hub / github.com/apache/nuttx / task_create_with_stack

Function task_create_with_stack

sched/task/task_create.c:201–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200#ifndef CONFIG_BUILD_KERNEL
201int task_create_with_stack(FAR const char *name, int priority,
202 FAR void *stack_addr, int stack_size,
203 main_t entry, FAR char * const argv[])
204{
205 int ret = nxtask_create(name, priority, stack_addr,
206 stack_size, entry, argv, NULL);
207 if (ret < 0)
208 {
209 set_errno(-ret);
210 ret = ERROR;
211 }
212
213 return ret;
214}
215
216int task_create(FAR const char *name, int priority,
217 int stack_size, main_t entry, FAR char * const argv[])

Callers 1

task_createFunction · 0.85

Calls 1

nxtask_createFunction · 0.85

Tested by

no test coverage detected