summaryrefslogtreecommitdiff
path: root/nuttx/sched/task/task_setup.c
Commit message (Collapse)AuthorAgeFilesLines
* strncpy will not copy the terminating \0 into the destination if the source ↵Gregory Nutt2014-12-171-0/+1
| | | | is larger than the size of the destination. Ensure that the last byte is always zero and let strncpy only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names can be observed in ps when creating a pthread while CONFIG_TASK_NAME_SIZE is set to 8.
* Fix some compile errors introduce in last commitsGregory Nutt2014-11-131-1/+1
|
* task_create: Don't even try if the accumulated size of the argument list is ↵Gregory Nutt2014-11-131-1/+8
| | | | larger than the stack
* task_setup() no longer depends on CONFIG_MAX_TASK_ARGSGregory Nutt2014-11-121-8/+19
|
* There used to be two ways to pass parameters to new tasks, depending upon ↵Gregory Nutt2014-09-011-106/+22
| | | | the configuration: Either (1) argv[] as created as an array with each string strdup'ed. Or (1) argv[] array and strings were created on the stack before the new task was started. Now, there is only one way, way (1). Way (2) might be slightly more compact, but this is not worth carry the complexity of two different ways of doing the same thing.
* Remove final traces of the 8015 from the NuttX source treeGregory Nutt2014-09-011-9/+6
|
* Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate ↵Gregory Nutt2014-08-291-6/+9
| | | | new CONFIG_BUILD_KERNEL
* Replace os_internal.h with sched/sched.h in files that actually reference ↵Gregory Nutt2014-08-081-1/+1
| | | | something in sched.h
* Move task control files from sched/ to sched/taskGregory Nutt2014-08-081-0/+765