Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | strncpy will not copy the terminating \0 into the destination if the source ↵ | Gregory Nutt | 2014-12-17 | 1 | -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 commits | Gregory Nutt | 2014-11-13 | 1 | -1/+1 |
| | |||||
* | task_create: Don't even try if the accumulated size of the argument list is ↵ | Gregory Nutt | 2014-11-13 | 1 | -1/+8 |
| | | | | larger than the stack | ||||
* | task_setup() no longer depends on CONFIG_MAX_TASK_ARGS | Gregory Nutt | 2014-11-12 | 1 | -8/+19 |
| | |||||
* | There used to be two ways to pass parameters to new tasks, depending upon ↵ | Gregory Nutt | 2014-09-01 | 1 | -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 tree | Gregory Nutt | 2014-09-01 | 1 | -9/+6 |
| | |||||
* | Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate ↵ | Gregory Nutt | 2014-08-29 | 1 | -6/+9 |
| | | | | new CONFIG_BUILD_KERNEL | ||||
* | Replace os_internal.h with sched/sched.h in files that actually reference ↵ | Gregory Nutt | 2014-08-08 | 1 | -1/+1 |
| | | | | something in sched.h | ||||
* | Move task control files from sched/ to sched/task | Gregory Nutt | 2014-08-08 | 1 | -0/+765 |