There is a problem if we call pthread_exit() in interrupt context, so we
need a new fatal error.
On 22/03/16 15:30, Joel Sherrill wrote:
Looks good. I have a patch to newlib to add the annotation in
pthread.h. I will
submit it for review today.
On Tue, Mar 22, 2016 at 1:25 AM, Sebastian Huber
<sebastian.hu...@embedded-brains.de
<mailto:sebastian.hu...@embedded-brains.de>> wrote:
---
cpukit/posix/src/pthreadexit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpukit/posix/src/pthreadexit.c
b/cpukit/posix/src/pthreadexit.c
index 6b3a09a..6f8a7a7 100644
--- a/cpukit/posix/src/pthreadexit.c
+++ b/cpukit/posix/src/pthreadexit.c
@@ -75,4 +75,5 @@ void pthread_exit(
)
{
_POSIX_Thread_Exit( _Thread_Get_executing(), value_ptr );
+ RTEMS_UNREACHABLE();
}
--
1.8.4.5
_______________________________________________
devel mailing list
devel@rtems.org <mailto:devel@rtems.org>
http://lists.rtems.org/mailman/listinfo/devel
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel