uthash questions in use

72 views
Skip to first unread message

cuiy...@wondersoft.cn

unread,
Jun 4, 2021, 9:07:38 AM6/4/21
to uthash
hello:
    我在使用uthash编写程序时,发现一个问题:
    一个线程将对象放入uthash,比如放入20000个,最后遍历删除释放,发现进程的内存不释放。
如下图:

测试的代码见附件。


看了很久这个问题,没想明白,所以发邮件请教一下。

崔义芳

研发工程师

手机:18518757258

电话:010-82743939-8061

官网:www.wondersoft.cn

 

北京明朝万达科技股份有限公司

北京市海淀区阜外亮甲店1号恩济西园产业园16号楼B座(100142)

 

Catch.jpg
InsertPic_3E99.jpg
test1.c

Arthur O'Dwyer

unread,
Jun 4, 2021, 9:08:09 AM6/4/21
to uth...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "uthash" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uthash+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uthash/2021060420294688626774%40wondersoft.cn.
Reply all
Reply to author
Forward
0 new messages