change log for rtems (2010-10-21)
rtems-vc at rtems.org
rtems-vc at rtems.org
Thu Oct 21 23:10:59 UTC 2010
*joel*:
2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
M 1.53 cpukit/score/cpu/avr/ChangeLog
M 1.30 cpukit/score/cpu/avr/rtems/score/cpu.h
M 1.41 cpukit/score/cpu/bfin/ChangeLog
M 1.24 cpukit/score/cpu/bfin/rtems/score/cpu.h
M 1.99 cpukit/score/cpu/h8300/ChangeLog
M 1.44 cpukit/score/cpu/h8300/rtems/score/cpu.h
M 1.19 cpukit/score/cpu/lm32/ChangeLog
M 1.13 cpukit/score/cpu/lm32/rtems/score/cpu.h
M 1.16 cpukit/score/cpu/m32c/ChangeLog
M 1.11 cpukit/score/cpu/m32c/rtems/score/cpu.h
M 1.9 cpukit/score/cpu/m32r/ChangeLog
M 1.8 cpukit/score/cpu/m32r/rtems/score/cpu.h
M 1.144 cpukit/score/cpu/mips/ChangeLog
M 1.61 cpukit/score/cpu/mips/rtems/score/cpu.h
M 1.26 cpukit/score/cpu/nios2/ChangeLog
M 1.17 cpukit/score/cpu/nios2/rtems/score/cpu.h
M 1.86 cpukit/score/cpu/no_cpu/ChangeLog
M 1.35 cpukit/score/cpu/no_cpu/rtems/score/cpu.h
M 1.157 cpukit/score/cpu/powerpc/ChangeLog
M 1.44 cpukit/score/cpu/powerpc/rtems/score/cpu.h
M 1.98 cpukit/score/cpu/sh/ChangeLog
M 1.35 cpukit/score/cpu/sh/rtems/score/cpu.h
M 1.99 cpukit/score/cpu/sparc/ChangeLog
M 1.38 cpukit/score/cpu/sparc/rtems/score/cpu.h
M 1.5 cpukit/score/cpu/sparc64/ChangeLog
M 1.4 cpukit/score/cpu/sparc64/rtems/score/cpu.h
diff -u rtems/cpukit/score/cpu/avr/ChangeLog:1.52 rtems/cpukit/score/cpu/avr/ChangeLog:1.53
--- rtems/cpukit/score/cpu/avr/ChangeLog:1.52 Fri Jul 30 13:52:03 2010
+++ rtems/cpukit/score/cpu/avr/ChangeLog Thu Oct 21 17:11:33 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
diff -u rtems/cpukit/score/cpu/avr/rtems/score/cpu.h:1.29 rtems/cpukit/score/cpu/avr/rtems/score/cpu.h:1.30
--- rtems/cpukit/score/cpu/avr/rtems/score/cpu.h:1.29 Thu Jul 29 12:51:33 2010
+++ rtems/cpukit/score/cpu/avr/rtems/score/cpu.h Thu Oct 21 17:11:33 2010
@@ -745,7 +745,7 @@
* XXX document implementation including references if appropriate
*/
-#define _CPU_Context_Restart_self( _the_context ) \
+#define eCPU_Context_Restart_self( _the_context ) \
_CPU_Context_restore( _the_context );
/*
@@ -1081,7 +1081,7 @@
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
diff -u rtems/cpukit/score/cpu/bfin/ChangeLog:1.40 rtems/cpukit/score/cpu/bfin/ChangeLog:1.41
--- rtems/cpukit/score/cpu/bfin/ChangeLog:1.40 Thu Jul 29 12:51:34 2010
+++ rtems/cpukit/score/cpu/bfin/ChangeLog Thu Oct 21 17:11:52 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/bfin/rtems/score/cpu.h:1.23 rtems/cpukit/score/cpu/bfin/rtems/score/cpu.h:1.24
--- rtems/cpukit/score/cpu/bfin/rtems/score/cpu.h:1.23 Thu Jul 29 12:51:34 2010
+++ rtems/cpukit/score/cpu/bfin/rtems/score/cpu.h Thu Oct 21 17:11:52 2010
@@ -1164,7 +1164,7 @@
*/
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext
diff -u rtems/cpukit/score/cpu/h8300/ChangeLog:1.98 rtems/cpukit/score/cpu/h8300/ChangeLog:1.99
--- rtems/cpukit/score/cpu/h8300/ChangeLog:1.98 Thu Jul 29 12:51:36 2010
+++ rtems/cpukit/score/cpu/h8300/ChangeLog Thu Oct 21 17:12:08 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/h8300/rtems/score/cpu.h:1.43 rtems/cpukit/score/cpu/h8300/rtems/score/cpu.h:1.44
--- rtems/cpukit/score/cpu/h8300/rtems/score/cpu.h:1.43 Thu Jul 29 12:51:36 2010
+++ rtems/cpukit/score/cpu/h8300/rtems/score/cpu.h Thu Oct 21 17:12:09 2010
@@ -1059,7 +1059,7 @@
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
diff -u rtems/cpukit/score/cpu/lm32/ChangeLog:1.18 rtems/cpukit/score/cpu/lm32/ChangeLog:1.19
--- rtems/cpukit/score/cpu/lm32/ChangeLog:1.18 Sun Sep 26 18:43:46 2010
+++ rtems/cpukit/score/cpu/lm32/ChangeLog Thu Oct 21 17:12:33 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-09-26 Yann Sionneau <yann at minet.net>
PR 1697/cpukit
diff -u rtems/cpukit/score/cpu/lm32/rtems/score/cpu.h:1.12 rtems/cpukit/score/cpu/lm32/rtems/score/cpu.h:1.13
--- rtems/cpukit/score/cpu/lm32/rtems/score/cpu.h:1.12 Sun Sep 26 18:43:47 2010
+++ rtems/cpukit/score/cpu/lm32/rtems/score/cpu.h Thu Oct 21 17:12:33 2010
@@ -1168,7 +1168,7 @@
*/
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext
diff -u rtems/cpukit/score/cpu/m32c/ChangeLog:1.15 rtems/cpukit/score/cpu/m32c/ChangeLog:1.16
--- rtems/cpukit/score/cpu/m32c/ChangeLog:1.15 Fri Jul 30 13:52:08 2010
+++ rtems/cpukit/score/cpu/m32c/ChangeLog Thu Oct 21 17:12:51 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
diff -u rtems/cpukit/score/cpu/m32c/rtems/score/cpu.h:1.10 rtems/cpukit/score/cpu/m32c/rtems/score/cpu.h:1.11
--- rtems/cpukit/score/cpu/m32c/rtems/score/cpu.h:1.10 Thu Jul 29 12:51:42 2010
+++ rtems/cpukit/score/cpu/m32c/rtems/score/cpu.h Thu Oct 21 17:12:51 2010
@@ -1124,7 +1124,7 @@
*/
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUEndian
diff -u rtems/cpukit/score/cpu/m32r/ChangeLog:1.8 rtems/cpukit/score/cpu/m32r/ChangeLog:1.9
--- rtems/cpukit/score/cpu/m32r/ChangeLog:1.8 Fri Jul 30 13:52:10 2010
+++ rtems/cpukit/score/cpu/m32r/ChangeLog Thu Oct 21 17:13:20 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
diff -u rtems/cpukit/score/cpu/m32r/rtems/score/cpu.h:1.7 rtems/cpukit/score/cpu/m32r/rtems/score/cpu.h:1.8
--- rtems/cpukit/score/cpu/m32r/rtems/score/cpu.h:1.7 Thu Jul 29 12:51:44 2010
+++ rtems/cpukit/score/cpu/m32r/rtems/score/cpu.h Thu Oct 21 17:13:20 2010
@@ -1149,7 +1149,7 @@
*/
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext
diff -u rtems/cpukit/score/cpu/mips/ChangeLog:1.143 rtems/cpukit/score/cpu/mips/ChangeLog:1.144
--- rtems/cpukit/score/cpu/mips/ChangeLog:1.143 Fri Jul 30 13:52:12 2010
+++ rtems/cpukit/score/cpu/mips/ChangeLog Thu Oct 21 17:13:40 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
diff -u rtems/cpukit/score/cpu/mips/rtems/score/cpu.h:1.60 rtems/cpukit/score/cpu/mips/rtems/score/cpu.h:1.61
--- rtems/cpukit/score/cpu/mips/rtems/score/cpu.h:1.60 Thu Jul 29 12:51:48 2010
+++ rtems/cpukit/score/cpu/mips/rtems/score/cpu.h Thu Oct 21 17:13:40 2010
@@ -1084,7 +1084,7 @@
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
diff -u rtems/cpukit/score/cpu/nios2/ChangeLog:1.25 rtems/cpukit/score/cpu/nios2/ChangeLog:1.26
--- rtems/cpukit/score/cpu/nios2/ChangeLog:1.25 Fri Jul 30 13:52:14 2010
+++ rtems/cpukit/score/cpu/nios2/ChangeLog Thu Oct 21 17:14:01 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
diff -u rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h:1.16 rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h:1.17
--- rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h:1.16 Thu Jul 29 12:51:50 2010
+++ rtems/cpukit/score/cpu/nios2/rtems/score/cpu.h Thu Oct 21 17:14:02 2010
@@ -1212,7 +1212,7 @@
*/
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext
diff -u rtems/cpukit/score/cpu/no_cpu/ChangeLog:1.85 rtems/cpukit/score/cpu/no_cpu/ChangeLog:1.86
--- rtems/cpukit/score/cpu/no_cpu/ChangeLog:1.85 Fri Jul 30 13:52:16 2010
+++ rtems/cpukit/score/cpu/no_cpu/ChangeLog Thu Oct 21 17:14:20 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-30 Gedare Bloom <giddyup44 at yahoo.com>
PR 1599/cpukit
diff -u rtems/cpukit/score/cpu/no_cpu/rtems/score/cpu.h:1.34 rtems/cpukit/score/cpu/no_cpu/rtems/score/cpu.h:1.35
--- rtems/cpukit/score/cpu/no_cpu/rtems/score/cpu.h:1.34 Thu Jul 29 12:51:52 2010
+++ rtems/cpukit/score/cpu/no_cpu/rtems/score/cpu.h Thu Oct 21 17:14:20 2010
@@ -1148,7 +1148,7 @@
*/
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext
diff -u rtems/cpukit/score/cpu/powerpc/ChangeLog:1.156 rtems/cpukit/score/cpu/powerpc/ChangeLog:1.157
--- rtems/cpukit/score/cpu/powerpc/ChangeLog:1.156 Thu Jul 29 12:51:54 2010
+++ rtems/cpukit/score/cpu/powerpc/ChangeLog Thu Oct 21 17:14:44 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/powerpc/rtems/score/cpu.h:1.43 rtems/cpukit/score/cpu/powerpc/rtems/score/cpu.h:1.44
--- rtems/cpukit/score/cpu/powerpc/rtems/score/cpu.h:1.43 Thu Jul 29 12:51:54 2010
+++ rtems/cpukit/score/cpu/powerpc/rtems/score/cpu.h Thu Oct 21 17:14:44 2010
@@ -902,7 +902,7 @@
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
diff -u rtems/cpukit/score/cpu/sh/ChangeLog:1.97 rtems/cpukit/score/cpu/sh/ChangeLog:1.98
--- rtems/cpukit/score/cpu/sh/ChangeLog:1.97 Thu Jul 29 12:51:56 2010
+++ rtems/cpukit/score/cpu/sh/ChangeLog Thu Oct 21 17:16:57 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/sh/rtems/score/cpu.h:1.34 rtems/cpukit/score/cpu/sh/rtems/score/cpu.h:1.35
--- rtems/cpukit/score/cpu/sh/rtems/score/cpu.h:1.34 Thu Jul 29 12:51:56 2010
+++ rtems/cpukit/score/cpu/sh/rtems/score/cpu.h Thu Oct 21 17:16:57 2010
@@ -861,7 +861,7 @@
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
diff -u rtems/cpukit/score/cpu/sparc/ChangeLog:1.98 rtems/cpukit/score/cpu/sparc/ChangeLog:1.99
--- rtems/cpukit/score/cpu/sparc/ChangeLog:1.98 Thu Jul 29 12:51:58 2010
+++ rtems/cpukit/score/cpu/sparc/ChangeLog Thu Oct 21 17:17:37 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-07-29 Gedare Bloom <giddyup44 at yahoo.com>
PR 1635/cpukit
diff -u rtems/cpukit/score/cpu/sparc/rtems/score/cpu.h:1.37 rtems/cpukit/score/cpu/sparc/rtems/score/cpu.h:1.38
--- rtems/cpukit/score/cpu/sparc/rtems/score/cpu.h:1.37 Fri Jul 16 03:45:55 2010
+++ rtems/cpukit/score/cpu/sparc/rtems/score/cpu.h Thu Oct 21 17:17:37 2010
@@ -925,7 +925,7 @@
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
diff -u rtems/cpukit/score/cpu/sparc64/ChangeLog:1.4 rtems/cpukit/score/cpu/sparc64/ChangeLog:1.5
--- rtems/cpukit/score/cpu/sparc64/ChangeLog:1.4 Thu Aug 19 07:11:42 2010
+++ rtems/cpukit/score/cpu/sparc64/ChangeLog Thu Oct 21 17:18:05 2010
@@ -1,3 +1,9 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
+ _CPU_Context_restore() because it does not return. Telling GCC this
+ avoids generation of dead code.
+
2010-08-19 Gedare Bloom <giddyup44 at yahoo.com>
PR 1681/cpukit
diff -u rtems/cpukit/score/cpu/sparc64/rtems/score/cpu.h:1.3 rtems/cpukit/score/cpu/sparc64/rtems/score/cpu.h:1.4
--- rtems/cpukit/score/cpu/sparc64/rtems/score/cpu.h:1.3 Thu Aug 19 07:11:42 2010
+++ rtems/cpukit/score/cpu/sparc64/rtems/score/cpu.h Thu Oct 21 17:18:05 2010
@@ -999,7 +999,7 @@
void _CPU_Context_restore(
Context_Control *new_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
*joel*:
2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
* posix/src/mutextimedlock.c: Check status local variable not
lock_status.
M 1.2638 cpukit/ChangeLog
M 1.13 cpukit/posix/src/mutextimedlock.c
diff -u rtems/cpukit/ChangeLog:1.2637 rtems/cpukit/ChangeLog:1.2638
--- rtems/cpukit/ChangeLog:1.2637 Tue Oct 19 04:16:20 2010
+++ rtems/cpukit/ChangeLog Thu Oct 21 17:21:09 2010
@@ -1,3 +1,8 @@
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
+ * posix/src/mutextimedlock.c: Check status local variable not
+ lock_status.
+
2010-10-19 Sebastian Huber <sebastian.huber at embedded-brains.de>
* libnetworking/lib/ftpfs.c: Do not fall back to BOOTP server address
diff -u rtems/cpukit/posix/src/mutextimedlock.c:1.12 rtems/cpukit/posix/src/mutextimedlock.c:1.13
--- rtems/cpukit/posix/src/mutextimedlock.c:1.12 Mon Aug 23 16:31:27 2010
+++ rtems/cpukit/posix/src/mutextimedlock.c Thu Oct 21 17:21:09 2010
@@ -72,10 +72,10 @@
* make sure the right reason is returned.
*/
if ( !do_wait && (lock_status == EBUSY) ) {
- if ( lock_status == POSIX_ABSOLUTE_TIMEOUT_INVALID )
+ if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )
return EINVAL;
- if ( lock_status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||
- lock_status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )
+ if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||
+ status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )
return ETIMEDOUT;
}
*joel*:
2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
* posix/src/psignalunblockthread.c: Formatting.
M 1.2639 cpukit/ChangeLog
M 1.15 cpukit/posix/src/psignalunblockthread.c
diff -u rtems/cpukit/ChangeLog:1.2638 rtems/cpukit/ChangeLog:1.2639
--- rtems/cpukit/ChangeLog:1.2638 Thu Oct 21 17:21:09 2010
+++ rtems/cpukit/ChangeLog Thu Oct 21 17:27:16 2010
@@ -1,5 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+ * posix/src/psignalunblockthread.c: Formatting.
+
+2010-10-21 Joel Sherrill <joel.sherrill at oarcorp.com>
+
* posix/src/mutextimedlock.c: Check status local variable not
lock_status.
diff -u rtems/cpukit/posix/src/psignalunblockthread.c:1.14 rtems/cpukit/posix/src/psignalunblockthread.c:1.15
--- rtems/cpukit/posix/src/psignalunblockthread.c:1.14 Fri Jul 30 13:53:06 2010
+++ rtems/cpukit/posix/src/psignalunblockthread.c Thu Oct 21 17:27:16 2010
@@ -104,16 +104,16 @@
* In pthread_cond_wait, a thread will be blocking on a thread
* queue, but is also interruptible by a POSIX signal.
*/
- if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
- _Thread_queue_Extract_with_proxy( the_thread );
- else if ( _States_Is_delaying(the_thread->current_state) ) {
- (void) _Watchdog_Remove( &the_thread->Timer );
- _Thread_Unblock( the_thread );
- }
+ if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
+ _Thread_queue_Extract_with_proxy( the_thread );
+ else if ( _States_Is_delaying(the_thread->current_state) ) {
+ (void) _Watchdog_Remove( &the_thread->Timer );
+ _Thread_Unblock( the_thread );
+ }
} else if ( the_thread->current_state == STATES_READY ) {
if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
- _Thread_Dispatch_necessary = true;
+ _Thread_Dispatch_necessary = true;
}
}
return false;
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20101021/e4ee7942/attachment-0001.html>
More information about the vc
mailing list