多线程访问pme的时候增加锁
This commit is contained in:
@@ -243,8 +243,8 @@ MESA_htable_handle kni_create_htable(const char *profile, const char *section, v
|
||||
|
||||
__wrapper_MESA_htable_set_opt(htable, MHO_CBFUN_DATA_FREE,
|
||||
(void *)free_data_cb, sizeof(free_data_cb), logger, section);
|
||||
//ret = __wrapper_MESA_htable_set_opt(htable, MHO_CBFUN_DATA_EXPIRE_NOTIFY,
|
||||
// (void *)key_keeper_verify_cb);
|
||||
__wrapper_MESA_htable_set_opt(htable, MHO_CBFUN_DATA_EXPIRE_NOTIFY,
|
||||
(void *)expire_notify_cb, sizeof(free_data_cb), logger, section);
|
||||
int ret = MESA_htable_mature(htable);
|
||||
if(unlikely(ret != 0))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user