[RTEMS Project] #2171: new function for declaring a POSIX thread to be floating point or not via attribute
RTEMS trac
trac at rtems.org
Thu Dec 18 12:34:35 UTC 2014
#2171: new function for declaring a POSIX thread to be floating point or not via
attribute
--------------------------+----------------------------
Reporter: steve.helmer | Owner: joel.sherrill
Type: enhancement | Status: new
Priority: low | Milestone: 5.0
Component: cpukit | Version: 4.10
Severity: minor | Resolution:
Keywords: |
--------------------------+----------------------------
Changes (by sebastian.huber):
* priority: normal => low
* milestone: 4.11 => 5.0
Old description:
> For those processors which have a builtin floating point unit there needs
> to be a way to specify whether or not posix threads (created with
> pthread_create) need to to save/restore the floating point context during
> a context switch. This is already the case for RTEMS tasks. I am
> submitting a patch for both rtems-4.10.2 and newlib-1.19.0 to accommodate
> a new field is_fp to the pthread_attr_t structure declared in
> newlib-1.19.0/newlib/libc/include/sys/types.h, declarations for 2 new
> functions in newlib-1.19.0/newlib/libc/include/pthread.h.
>
> And the functions themselves to be added to
> rtems-4.10.2/cpukit/posix/src.
New description:
For those processors which have a builtin floating point unit there needs
to be a way to specify whether or not posix threads (created with
pthread_create) need to to save/restore the floating point context during
a context switch. This is already the case for RTEMS tasks. I am
submitting a patch for both rtems-4.10.2 and newlib-1.19.0 to accommodate
a new field is_fp to the pthread_attr_t structure declared in
newlib-1.19.0/newlib/libc/include/sys/types.h, declarations for 2 new
functions in newlib-1.19.0/newlib/libc/include/pthread.h.
And the functions themselves to be added to rtems-4.10.2/cpukit/posix/src.
--
--
Ticket URL: <http://devel.rtems.org/ticket/2171#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list