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

Function kthread_create_with_stack

sched/task/task_create.c:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 ****************************************************************************/
248
249int kthread_create_with_stack(FAR const char *name, int priority,
250 FAR void *stack_addr, int stack_size,
251 main_t entry, FAR char * const argv[])
252{
253 return nxthread_create(name, TCB_FLAG_TTYPE_KERNEL, priority,
254 stack_addr, stack_size, entry, argv, NULL);
255}
256
257/****************************************************************************
258 * Name: kthread_create

Callers 3

kthread_createFunction · 0.85
work_thread_createFunction · 0.85
rptun_dev_startFunction · 0.85

Calls 1

nxthread_createFunction · 0.85

Tested by

no test coverage detected