Project

General

Profile

Feature #2895

原子锁使用优化

Added by jiwei shi almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
03/23/2023
Due date:
% Done:

100%

Estimated time:
Defect version:

Description

原子锁未释放时导致后续线程不能获取锁,如实时库版告警服务em_aps,当此进程异常崩溃未释放原子锁时,再次启动的em_aps服务不能获取锁,导致不能处理告警。


Related issues

Related to ISCS#FEP - Feature #2942: 原子锁使用优化Resolved04/12/2023

Actions

History

#1

Updated by jiwei shi almost 2 years ago

  • Status changed from New to In Progress
#2

Updated by jiwei shi almost 2 years ago

  • Target version set to 3.0.6
#3

Updated by jiwei shi almost 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

em_aps进程启动时初始化原子锁,用以防止死锁;CEH事件原子锁添加超时强抓控制权,使用mutex管理同进程下多线程同时强抢问题,经测试满足要求;

#4

Updated by jiwei shi over 1 year ago

Also available in: Atom PDF