Method and device for achieving process mutual exclusion

2014 
The invention discloses a method and a device for achieving process mutual exclusion. The method includes that locking processing is performed on a target lock of each controller sequentially according to a preset controller locking sequence, the target locks on the controllers correspond to to-be-processed critical resources, and after the critical resources are processed, unlocking processing is performed on the target locks on the controllers sequentially according to a reverse sequence of the controller locking sequence. According to the method and the device for achieving process mutual exclusion in the technical scheme, process mutual exclusion is achieved under the condition of simultaneous processing of the critical resources in a multi-control distributed system.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []