Method and device for accessing shared data structure by multiple threads in parallel
一种共享数据结构、线程的技术,应用在多道程序装置、电数字数据处理、程序控制设计等方向,能够解决降低多核处理器性能等问题
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0017] It is believed that the above and other objects, features and advantages of the present invention will be more apparent through the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings.
[0018] figure 2 It is a flow chart of a method for concurrently accessing a shared data structure by multiple threads in a parallel application program according to an embodiment of the present invention. The present embodiment will be described in detail below in conjunction with the accompanying drawings.
[0019] Such as figure 2 As shown, when multiple threads access a shared data structure in parallel, in step S201, each thread requests to acquire a lock for locking the shared data structure, and only one of the threads is granted the lock of the shared data structure. During the above-mentioned period when one thread acquires the lock, in step S210, the operations of the thread that acquires the lock are p...
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