phoenix-rtos / phoenix-rtos-kernel

Phoenix-RTOS microkernel repository
http://phoenix-rtos.com
BSD 3-Clause "New" or "Revised" License
114 stars 33 forks source link

kernel/proc: Move copying of resources to `process_vforkThread` #553

Closed astalke closed 4 months ago

astalke commented 5 months ago

Description

Move copying of resources from process_copy to process_vforkThread.

Fixes: https://github.com/phoenix-rtos/phoenix-rtos-project/issues/1077 JIRA: RTOS-839

Motivation and Context

Types of changes

How Has This Been Tested?

Checklist:

Special treatment

agkaminski commented 5 months ago

Small remark here - locks are copied as not taken, so this change should be inherently safe

github-actions[bot] commented 5 months ago

Unit Test Results

7 460 tests  ±0   6 745 :white_check_mark: ±0   39m 18s :stopwatch: +19s   420 suites ±0     715 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit 3623a41b. ± Comparison against base commit 828df3ff.