PCR 12372 - Floating point state on createThread not consistent with POSIX
Summary: Floating point state on createThread not consistent with POSIX
Status: ASSIGNED
Alias: None
Product: Kernel
Classification: Deos
Component: Kernel (show other PCRs)
Version: mainline
Hardware: All Deos
: Any Upcoming
: Enhancement
Target Milestone: mainline
Assignee: .Kernel
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-02-26 09:49 MST by alarson
Modified: 2024-12-11 13:05 MST (History)
1 user (show)

See Also:
Impact Assessment: Light
Organization: DDC-I, Inc.
deosbugs.ccb: Requirements?
deosbugs.ccb: Code?
deosbugs.ccb: TestCases?
deosbugs.ccb: TestProcedures?
deosbugs.ccb: Other?


Attachments

Note You need to log in before you can comment on or make changes to this PCR.
Description alarson 2020-02-26 09:49:08 MST
POSIX states that the default floating point environment should be
inherited from the creating thread.  Deos uses the constant value
defined at process startup for both createThread(), and
restartThread().  Note that the ARM ABI document clarifies that
changes to the environment are not permitted, so this is likely not
particularly problematic for applications.

POSIX and Linux agree on this point:
https://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_create.html
http://man7.org/linux/man-pages/man3/pthread_create.3.html
    The new thread inherits the calling thread's floating-point
    environment (fenv(3)).
Comment 1 rroffelsen 2020-02-26 09:55:56 MST
Placing this enhancement PCR on hold until at least post Indie cert.
Comment 2 rroffelsen 2020-02-26 09:58:04 MST
This PCR should worked at the same time PCR 12371 is worked.
Comment 3 deosbugs.ccb 2021-03-26 09:38:15 MST
CCB visited this PCR on 2021-03-26-57787
Comment 4 deosbugs.ccb 2023-08-14 11:07:36 MST
CCB visited this PCR on 2023-08-14-64795
Comment 5 deosbugs.ccb 2023-08-18 09:36:57 MST
PCR being taken off HOLD for kismet, to be considered if time permits.
Comment 6 deosbugs.ccb 2024-08-30 06:58:08 MST
CCB visited this PCR on 2024-08-30-49739
Comment 7 deosbugs.ccb 2024-12-11 13:05:53 MST
CCB visited this PCR on 2024-12-11-68907