A Refactoring Method to Reduce Non-reentrant Functions
A function and reentrancy technology, applied in the field of reconstruction to reduce non-reentrant functions, can solve problems such as resource conflicts and low system stability, and achieve the effects of reducing coupling, reducing the risk of resource conflicts, and being easy to monitor and track.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] A refactoring method to reduce non-reentrant functions. By rebuilding the encapsulation function, the state of some non-reentrant functions is effectively transformed into reentrant functions, and a new calling relationship is constructed at the same time. Greatly reduce the resource usage of non-reentrant functions. The specific reconstruction method in this embodiment includes steps, please refer to figure 1 :
[0043] S10. Identify a non-reentrant function.
[0044] Specifically, during processing, the external interface of the software module code is analyzed to analyze the implementation functions associated with the external interface, and the calling relationship between the implementation functions is recorded, and all non-reentrant functions are identified.
[0045] Specifically, such as figure 2 As shown, this step adopts the following sub-steps when identifying non-reentrant functions:
[0046] S11. In the embedded system, it is necessary to define vario...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



