Method for testing multi-thread software concurrent conflict
A multi-threading and test line technology, applied in multi-programming devices, software testing/debugging, etc., can solve problems such as uncontrollable simultaneous calls of API interfaces, achieve the effect of improving concurrent testing efficiency and testing quality, and shortening the cycle
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] The test logic of the present invention will be described below by taking a test program that starts two test threads as an example.
[0040] figure 1 Shown is the test logic for two test threads applying the method described in the present invention. In the first test thread, the first API interface and the second API interface should be called, and in the second test thread, the third API interface and the fourth API interface should be called. Assuming that a concurrency conflict test needs to be performed on each API interface call, a synchronization application point is inserted before the above four calls to the API interface.
[0041] When each test thread executes to the synchronization application point, it will send a synchronization application to the test program. For example, after the test program accepts the synchronization application from the first test thread, it keeps the first test thread in a waiting state until it accepts the synchronization appl...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com