MOD aaa-12 事件响应的时候去掉锁
SOL 事件响应的时候去掉锁 修改人:zhangliang 检视人:zhangliang
This commit is contained in:
parent
c88b968002
commit
e6067b2767
|
@ -39,7 +39,7 @@ int br_invoke_event(BR_EVENT_TYPE event_type, br_event_t event_arg)
|
|||
{
|
||||
br_event_node_t *hnode;
|
||||
|
||||
pthread_mutex_lock(&(br_event_tbl.lock));
|
||||
//pthread_mutex_lock(&(br_event_tbl.lock));
|
||||
hlist_for_each_entry(hnode, &(br_event_tbl.head), list)
|
||||
{
|
||||
if(hnode->br_event == event_type)
|
||||
|
@ -48,7 +48,7 @@ int br_invoke_event(BR_EVENT_TYPE event_type, br_event_t event_arg)
|
|||
rpc_log_info("br event:%d\n", event_type);
|
||||
}
|
||||
}
|
||||
pthread_mutex_unlock(&(br_event_tbl.lock));
|
||||
//pthread_mutex_unlock(&(br_event_tbl.lock));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue