<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-07-26)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>
* score/src/threadget.c: Conditionalize a check that can only occur
when POSIX is disabled.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2526&r2=text&tr2=1.2527&diff_format=h">M</a></td><td width='1%'>1.2527</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/score/src/threadget.c.diff?r1=text&tr1=1.14&r2=text&tr2=1.15&diff_format=h">M</a></td><td width='1%'>1.15</td><td width='100%'>cpukit/score/src/threadget.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2526 rtems/cpukit/ChangeLog:1.2527
--- rtems/cpukit/ChangeLog:1.2526 Mon Jul 26 20:48:46 2010
+++ rtems/cpukit/ChangeLog Mon Jul 26 21:17:31 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>
<font color='#000088'>+ * score/src/threadget.c: Conditionalize a check that can only occur
+ when POSIX is disabled.
+
+2010-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
</font> * rtems/src/taskmode.c, score/inline/rtems/score/thread.inl: Rework a
bit to eliminate unreachable path for task blocked while calling
rtems_task_mode() on itself.
<font color='#006600'>diff -u rtems/cpukit/score/src/threadget.c:1.14 rtems/cpukit/score/src/threadget.c:1.15
--- rtems/cpukit/score/src/threadget.c:1.14 Sun Nov 29 07:51:52 2009
+++ rtems/cpukit/score/src/threadget.c Mon Jul 26 21:17:31 2010
</font><font color='#997700'>@@ -1,8 +1,7 @@
</font> /*
<font color='#880000'>- * Thread Handler
</font><font color='#000088'>+ * Thread Handler - Object Id to Thread Pointer
</font> *
<font color='#880000'>- *
- * COPYRIGHT (c) 1989-1999.
</font><font color='#000088'>+ * COPYRIGHT (c) 1989-2010.
</font> * On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
<font color='#997700'>@@ -45,7 +44,6 @@
</font> * cycles off the execution time, this routine is worth
* further optimization attention.
*/
<font color='#880000'>-
</font> Thread_Control *_Thread_Get (
Objects_Id id,
Objects_Locations *location
<font color='#997700'>@@ -77,10 +75,15 @@
</font> }
api_information = _Objects_Information_table[ the_api ];
<font color='#880000'>- if ( !api_information ) {
- *location = OBJECTS_ERROR;
- goto done;
- }
</font><font color='#000088'>+ /*
+ * There is no way for this to happen if POSIX is enabled.
+ */<span style="background-color: #FF0000"> </span>
+ #if !defined(RTEMS_POSIX_API)
+ if ( !api_information ) {
+ *location = OBJECTS_ERROR;
+ goto done;
+ }
+ #endif
</font>
information = api_information[ the_class ];
if ( !information ) {
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>