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
This commit is contained in:
patacongo
2007-03-29 14:21:31 +00:00
parent b1d5b6899a
commit 8b9fcf354e
4 changed files with 19 additions and 16 deletions

View File

@@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
<p>Last Updated: March 21, 2007</p>
<p>Last Updated: March 28, 2007</p>
</td>
</tr>
</table>
@@ -459,6 +459,10 @@ Other memory:
task_delete() can cause pending tasks to be merged and a
context switch to occur.
* Added mq_timedreceive() and mq_timedsend()
* signal mask is now inherited by both child tasks and threads.
* Improved sharebility of stdout among pthreads (only). Nothing
was broken, but by moving the mutual exclusion logic to a
higher level, the printf output is more readable.
* Started m68322
</pre></ul>