PCR 5607 - Add support for calling functions registered via atexit()
Summary: Add support for calling functions registered via atexit()
Status: NEW
Alias: None
Product: Kernel
Classification: Deos
Component: Kernel (show other PCRs)
Version: mainline
Hardware: All Deos
: Hold
: Enhancement
Target Milestone: mainline
Assignee: .Kernel
URL:
Whiteboard:
: A-1737 12597 (view as PCR list)
Depends on:
Blocks: 5608 5609
  Show dependency treegraph
 
Reported: 2009-02-06 13:05 MST by rroffelsen
Modified: 2023-08-18 10:03 MST (History)
3 users (show)

See Also:
Impact Assessment: ---
Organization: ---
alarson: Requirements?
alarson: Code?
alarson: TestCases?
alarson: TestProcedures?
alarson: Other?


Attachments

Note You need to log in before you can comment on or make changes to this PCR.
Description rroffelsen 2009-02-06 13:05:53 MST
There 3 conditions to consider:
1) When a process's 'main' returns.
2) When a process is restarted/deleted by a call to the kernel
3) When a library is unloaded by a call to the kernel

Condition 1 could be handled 100% by the startup library.

Condition 2 we have to treat like an abnormal process termination and not call any of the registered functions because the kernel can not call user code before deleting a process (other wise we risk a partitioning violation).  The possible exception to this would be when a process deletes itself.

Condition 3 would require kernel and startup library coordination.
Comment 1 rroffelsen 2009-02-11 17:08:22 MST
*** PCR 1737 has been marked as a duplicate of this PCR. ***
Comment 2 deosbugs.ccb 2009-03-10 17:47:51 MST
Recommend defer.  No safety impact.
Comment 3 deosbugs.ccb 2010-02-03 15:23:16 MST
CCB visited this PCR on 2010-02-03
Comment 4 deosbugs.ccb 2010-03-31 12:12:42 MST
CCB 2 visited this PCR on  2010-03-31
Comment 5 deosbugs.ccb 2010-05-11 15:05:45 MST
CCB visited this PCR on 2010-05-11
Comment 6 deosbugs.ccb 2010-09-30 14:51:54 MST
CCB 2 visited this PCR on 2010-09-30.
Comment 7 deosbugs.ccb 2010-12-17 10:17:48 MST
CCB visited this PCR on 2010-12-17.
Comment 8 deosbugs.ccb 2011-03-07 17:39:33 MST
CCB visited this PCR on 2011-03-07
Comment 9 deosbugs.ccb 2011-04-11 14:38:01 MST
CCB visited this PCR on 2011-04-11
Comment 10 deosbugs.ccb 2011-05-16 15:20:35 MST
CCB2 visited this PCR on 2011-05-16
Comment 11 deosbugs.ccb 2011-08-17 15:10:56 MST
CCB visited this PCR on 2011-08-17
Comment 12 deosbugs.ccb 2011-11-04 15:52:43 MST
CCB 2 visited this PCR on 2011-11-04
Comment 13 deosbugs.ccb 2012-01-31 13:45:54 MST
CCB visited this PCR on 2012-01-31
Comment 14 deosbugs.ccb 2012-05-15 08:40:41 MST
CCB visited this PCR on 2012-05-15
Comment 15 deosbugs.ccb 2012-06-08 13:17:09 MST
CCB 2 visited this PCR on 2012-06-08
Comment 16 deosbugs.ccb 2012-08-24 09:17:17 MST
CCB visited this PCR on 2012-08-24
Comment 17 deosbugs.ccb 2012-09-07 10:38:45 MST
CCB visited this PCR on 2012-09-07
Comment 18 rroffelsen 2012-09-17 16:00:55 MST
CCB visited this PCR on 2012-09-17
Comment 19 deosbugs.ccb 2012-11-19 12:19:56 MST
CCB visited this PCR on 2012-11-19
Comment 20 deosbugs.ccb 2012-11-26 17:46:14 MST
CCB visited this PCR on 2012-11-26
Comment 21 deosbugs.ccb 2013-02-12 21:17:45 MST
CCB visited this PCR on 2013-02-12
Comment 22 deosbugs.ccb 2013-03-18 14:35:39 MST
CCB visited this PCR on 2013-03-18
Comment 23 deosbugs.ccb 2013-05-15 10:12:28 MST
CCB visited this PCR on 2013-05-15
Comment 24 deosbugs.ccb 2013-07-19 11:26:08 MST
CCB visited this PCR on 2013-07-19
Comment 25 deosbugs.ccb 2013-11-15 17:40:24 MST
CCB visited this PCR on 2013-11-15
Comment 26 deosbugs.ccb 2014-05-20 10:14:22 MST
CCB 2 visited this PCR on 2014-05-20
Comment 27 deosbugs.ccb 2014-07-14 15:12:02 MST
CCB visited this PCR on 2014-07-14
Comment 28 deosbugs.ccb 2014-11-11 13:17:01 MST
CCB 2 visited this PCR on 2014-11-11
Comment 29 deosbugs.ccb 2014-11-17 08:58:12 MST
CCB visited this PCR on 2014-11-17
Comment 30 deosbugs.ccb 2016-04-18 12:56:40 MST
CCB visited this PCR on 2016-04-18
Comment 31 deosbugs.ccb 2016-06-20 13:09:34 MST
CCB visited this PCR on 2016-06-20
Comment 32 deosbugs.ccb 2017-02-01 09:37:45 MST
CCB visited this PCR on 2017-02-01-59501
Comment 33 deosbugs.ccb 2017-06-28 13:00:48 MST
CCB visited this PCR on 2017-06-28-69227
Comment 34 deosbugs.ccb 2017-07-06 11:06:51 MST
CCB visited this PCR on 2017-07-06-58325
Comment 35 deosbugs.ccb 2021-03-26 09:35:59 MST
CCB visited this PCR on 2021-03-26-57787
Comment 36 deosbugs.ccb 2021-04-05 09:53:13 MST
CCB visited this PCR on 2021-04-05-59141
Comment 37 deosbugs.ccb 2023-08-14 11:05:57 MST
CCB visited this PCR on 2023-08-14-64795
Comment 38 deosbugs.ccb 2023-08-14 12:34:21 MST
PCR to remain on HOLD for kismet.
Comment 39 deosbugs.ccb 2023-08-18 10:03:06 MST
*** PCR 12597 has been marked as a duplicate of this PCR. ***