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

Function pthread_setup_scheduler

sched/task/task_setup.c:711–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

709
710#ifndef CONFIG_DISABLE_PTHREAD
711int pthread_setup_scheduler(FAR struct tcb_s *tcb, int priority,
712 start_t start, pthread_startroutine_t entry)
713{
714 /* Perform common thread setup */
715
716 return nxthread_setup_scheduler(tcb, priority, start, entry,
717 TCB_FLAG_TTYPE_PTHREAD);
718}
719#endif
720
721/****************************************************************************

Callers 1

nx_pthread_createFunction · 0.85

Calls 1

nxthread_setup_schedulerFunction · 0.85

Tested by

no test coverage detected