memory problems!

2007-03-20 Thread duan qian
i'm working on a application baseed on net-snmp,a simply network management system,i have to get mac-table if-table and arp-table form lots routers,switches.and i useed single APIs for muti-thread to do it.but i found lots of memory has lost . after traced into the program i found that the api

multithreading Problems with net-snmp

2007-01-31 Thread duan qian
i am working on a project of network management baseed on net-snmp.In my situation i have to get the mac,arp,if table of a swither or a router.So a build a object to get all the table of a device,but when the mount of the device comes huge the time it takes too long to wait. so i creat a single