Commit Graph

3266 Commits

Author SHA1 Message Date
patacongo
8b9fcf354e Moved exclusion logic to a higher level so that printf output is more readable when the same stdout FILE* is shared
by many pthreads (tasks did not have this probablem because they have separate stdout streams).


git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@174 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 14:21:31 +00:00
patacongo
b1d5b6899a Signal mask is now inherited by both child tasks and threads; this has the 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
2007-03-29 13:34:37 +00:00
patacongo
2aab4d3c3a Unmatched sched_lock()/sched_unlock()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@172 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:32:13 +00:00
patacongo
b765d17818 Don't allow signals to wake up blocked task if the signal is blocked.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@171 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:31:08 +00:00
patacongo
54339607da Block signals while pthread exits.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@170 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:29:29 +00:00
patacongo
0c2ff4a47c typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@169 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:28:27 +00:00
patacongo
23dffb8f23 Eliminate warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@168 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:27:43 +00:00
patacongo
0db3f5c256 task_delete() calls sched_unlock(); _exit must keep pre-emption disabled until pending queue emptied.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@167 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:26:24 +00:00
patacongo
56f7399200 Added mq_timedsend() and mq_timedreceive()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@166 42af7a65-404d-4744-a932-0658087f49c3
2007-03-29 13:25:18 +00:00
patacongo
5f5d5496d9 Update mq_send() and mq_receive() description
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@165 42af7a65-404d-4744-a932-0658087f49c3
2007-03-28 16:00:57 +00:00
patacongo
3e352ca10b mq_receive/send: Return appropriate errnos and stop waiting if signal received.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@164 42af7a65-404d-4744-a932-0658087f49c3
2007-03-28 14:48:42 +00:00
patacongo
c5971231da updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@163 42af7a65-404d-4744-a932-0658087f49c3
2007-03-27 21:27:41 +00:00
patacongo
b7a85058a4 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@162 42af7a65-404d-4744-a932-0658087f49c3
2007-03-27 16:35:48 +00:00
patacongo
4ee22e2307 Board-specific LED logic moved to board-specific directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@161 42af7a65-404d-4744-a932-0658087f49c3
2007-03-27 16:35:17 +00:00
patacongo
daffb73624 Use gzip instead of bzip2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@160 42af7a65-404d-4744-a932-0658087f49c3
2007-03-27 16:20:47 +00:00
patacongo
c5af51943b Move PJRC led support into board-specific logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@159 42af7a65-404d-4744-a932-0658087f49c3
2007-03-27 16:19:51 +00:00
patacongo
795ffc3829 Remove leftover debug echo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@158 42af7a65-404d-4744-a932-0658087f49c3
2007-03-27 16:19:01 +00:00
patacongo
efa97ac0f5 Add DM320 LED support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@157 42af7a65-404d-4744-a932-0658087f49c3
2007-03-27 16:17:23 +00:00
patacongo
b441f43a6e Fix DM320 CFLAGS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@156 42af7a65-404d-4744-a932-0658087f49c3
2007-03-27 16:16:09 +00:00
patacongo
c9011c0f30 Create a place to hold board-specific drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@155 42af7a65-404d-4744-a932-0658087f49c3
2007-03-26 22:32:58 +00:00
patacongo
03771dd514 Bad import
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@154 42af7a65-404d-4744-a932-0658087f49c3
2007-03-26 22:28:03 +00:00
patacongo
18149c3b98 Was delete link then delete link in directory referenced by link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@153 42af7a65-404d-4744-a932-0658087f49c3
2007-03-26 22:22:20 +00:00
patacongo
aa56898b82 Moved to board-specific directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@152 42af7a65-404d-4744-a932-0658087f49c3
2007-03-26 22:16:07 +00:00
patacongo
8e8fc062a5 Add a directory to hold board-specific drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@151 42af7a65-404d-4744-a932-0658087f49c3
2007-03-26 22:14:28 +00:00
patacongo
c0934f429d Initial Revision
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@148 42af7a65-404d-4744-a932-0658087f49c3
2007-03-26 22:05:53 +00:00
patacongo
bf9cc8b7ab Initial Revision
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@147 42af7a65-404d-4744-a932-0658087f49c3
2007-03-26 16:51:05 +00:00
patacongo
47118057ea Create a place to hold board specific header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@146 42af7a65-404d-4744-a932-0658087f49c3
2007-03-26 16:47:17 +00:00
patacongo
468beb1305 Makefile would sometimes create spurious links
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@145 42af7a65-404d-4744-a932-0658087f49c3
2007-03-25 13:16:27 +00:00
patacongo
df2a08cf9b Add test of pthread barrier logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@144 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 22:32:53 +00:00
patacongo
a02374bb45 updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@143 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:57:35 +00:00
patacongo
3631d1e1ad Eliminate warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@142 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:57:00 +00:00
patacongo
16e8906ed5 Add logic to protect the user task errno when errno access are performed from interrupt handlers.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@141 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:56:27 +00:00
patacongo
d551204f84 Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@140 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:55:21 +00:00
patacongo
3d5eebad25 Add pthread_setschedprio() prototype
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@139 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:54:42 +00:00
patacongo
b9d2a2b971 Add SCHED_SPORADIC (even though we don't use it)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@138 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:53:52 +00:00
patacongo
768a214d63 Don't all sched_setparam; call up_prrioritize_rtr directly
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@137 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:52:45 +00:00
patacongo
b282cd3f42 Correct errno handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@136 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:51:50 +00:00
patacongo
e689e148e8 Added pthread_setschedprio()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@135 42af7a65-404d-4744-a932-0658087f49c3
2007-03-24 15:51:01 +00:00
patacongo
7a1f5f61bd Add new pthread_* APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@134 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 23:22:22 +00:00
patacongo
1e8eaa90c1 Fix memory leaks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@133 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 16:06:22 +00:00
patacongo
5af89ab5eb Needs prototype for timer_test()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@132 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 16:05:52 +00:00
patacongo
a2ed490c11 should not include pthread.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@131 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 16:04:58 +00:00
patacongo
a2c26f080a argv parameter should be 'const'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@130 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 16:03:28 +00:00
patacongo
30c1d1028d limits.h is also a required file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@129 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 16:02:36 +00:00
patacongo
0baf1522b1 Initial Release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@128 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 16:00:16 +00:00
patacongo
5325f906c7 Move to the configs subdirectory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@127 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 02:29:35 +00:00
patacongo
ef4d567b78 Create configs/ dir; separate board configuration from processor architecture
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@126 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 02:25:54 +00:00
patacongo
aae8532783 Initial Release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@125 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 02:24:38 +00:00
patacongo
1367c062f7 Remove duplicated instruction
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@124 42af7a65-404d-4744-a932-0658087f49c3
2007-03-23 00:27:05 +00:00
patacongo
136e3d9fca update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@123 42af7a65-404d-4744-a932-0658087f49c3
2007-03-22 19:17:38 +00:00