summaryrefslogtreecommitdiff
path: root/nuttx/sched/task_setup.c
Commit message (Collapse)AuthorAgeFilesLines
* Corrections needed after further test of stack-based task argumentspatacongo2013-03-211-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5771 42af7a65-404d-4744-a932-0658087f49c3
* In the kernel build, pass task paramters in the stack, not using the arrary ↵patacongo2013-03-211-45/+254
| | | | | | in the TCB git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5770 42af7a65-404d-4744-a932-0658087f49c3
* Moving pending signals to task group; Logic to recover some MQ resources on ↵patacongo2013-02-051-3/+3
| | | | | | pthread_cacancel or task_delete; Now obeys rules for delivering signals to a process with threads git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5613 42af7a65-404d-4744-a932-0658087f49c3
* Divide struct tcb_s into structs task_tcb_s and pthread_tcb_spatacongo2013-02-041-19/+100
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5611 42af7a65-404d-4744-a932-0658087f49c3
* Rename _TCB to struct tcb_spatacongo2013-02-041-8/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
* New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv ↵patacongo2013-02-021-1/+1
| | | | | | types should be char * const * not const char ** git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3
* Don't keep the parent task's task ID in the child task's TCB. Instead, keep ↵patacongo2013-01-261-4/+28
| | | | | | the parent task group IN the child task's task group. git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5566 42af7a65-404d-4744-a932-0658087f49c3
* Move environment variables in the task group structurepatacongo2013-01-251-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5565 42af7a65-404d-4744-a932-0658087f49c3
* Add framework to support task groupspatacongo2013-01-251-6/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5562 42af7a65-404d-4744-a932-0658087f49c3
* Fix some missing logic and inconsistencies in child status logic; Fix a bug ↵patacongo2013-01-241-8/+15
| | | | | | introduced into sigaction() git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5560 42af7a65-404d-4744-a932-0658087f49c3
* Convert configs/olimex-lpc1766stk/nettest to use kconfig-frontendspatacongo2013-01-241-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5555 42af7a65-404d-4744-a932-0658087f49c3
* Add logic to retain child task exit status if so configuredpatacongo2013-01-231-7/+61
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5553 42af7a65-404d-4744-a932-0658087f49c3
* Use SIGCHLD with waitpid(); implemented wait() and waitid()patacongo2013-01-131-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5515 42af7a65-404d-4744-a932-0658087f49c3
* Fix a *critical* bug in the task exit logic. Implements SIGCHILDpatacongo2013-01-121-1/+35
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5513 42af7a65-404d-4744-a932-0658087f49c3
* Add missing support for signal masks to posix_spawn.patacongo2013-01-101-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5505 42af7a65-404d-4744-a932-0658087f49c3
* Fix STM32 F2/F4 SDIO clocking; Clean-up files in sched/ directorypatacongo2012-07-141-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4940 42af7a65-404d-4744-a932-0658087f49c3
* Updated comments; starting to implement priority protection but backed ↵patacongo2012-03-231-2/+2
| | | | | | everything out but some changes to comments git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4510 42af7a65-404d-4744-a932-0658087f49c3
* Add support for kernel-mode threadspatacongo2011-04-071-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3478 42af7a65-404d-4744-a932-0658087f49c3
* Some context switch fixespatacongo2010-10-311-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3066 42af7a65-404d-4744-a932-0658087f49c3
* Changing NuttX fixed size type names to C99 standard names -- things will be ↵patacongo2009-12-141-0/+4
| | | | | | broken for awhile git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2337 42af7a65-404d-4744-a932-0658087f49c3
* Switching to C99 stdint.h typespatacongo2009-12-141-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2336 42af7a65-404d-4744-a932-0658087f49c3
* types blkcnt_t and off_t should not depend on memory model; Remove ↵patacongo2009-12-131-6/+5
| | | | | | non-standard type STATUS git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2330 42af7a65-404d-4744-a932-0658087f49c3
* Integrate PIC support into context switchingpatacongo2009-06-171-6/+50
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1900 42af7a65-404d-4744-a932-0658087f49c3
* Add support for priority inheritancepatacongo2009-03-081-2/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1581 42af7a65-404d-4744-a932-0658087f49c3
* Z16F Debugpatacongo2008-01-291-27/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@579 42af7a65-404d-4744-a932-0658087f49c3
* Signal mask is now inherited by both child tasks and threads; this has the ↵patacongo2007-03-291-2/+9
| | | | | | | | | side-effect of changing the initia l state of all signals from blocked to unblocked. git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@173 42af7a65-404d-4744-a932-0658087f49c3
* Add new pthread_* APIspatacongo2007-03-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@134 42af7a65-404d-4744-a932-0658087f49c3
* Restructure header files for POSIX compliance; eliminate compile warningspatacongo2007-03-201-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@107 42af7a65-404d-4744-a932-0658087f49c3
* 8052 context switch/interrupt integration; pthread arg setup changedpatacongo2007-03-131-44/+21
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@60 42af7a65-404d-4744-a932-0658087f49c3
* 8051 integrationpatacongo2007-03-131-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@59 42af7a65-404d-4744-a932-0658087f49c3
* Divided _task_init() in several smaller functions that take fewer paramters. ↵patacongo2007-03-111-0/+312
This was necessary to reduce the stack usage for the 8051/2 which has a tiny, 256 byte stack git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@58 42af7a65-404d-4744-a932-0658087f49c3