The functionalities modified in this version are as follows:
- The interface functions defined in the eptcp.c and epudp.c files have had the sockopt_t parameter added.
- The iotimer_stop function parameter has been modified to resolve the issue of continuing to access a timer object after it has been released.
- Multiple bugs in epdns.c have been revised, several DNS events have been added, the processing flow has been optimized, and the issue of calling dns_query and the DNS resolution callback being in the same thread has been resolved.
- The bind mechanism of iodev has been optimized to address thread synchronization issues caused by the timing of device read and write event triggers.
- A memory pool mechanism has been adopted to optimize and enhance the efficiency of all memory usage within the ePump system.
本版本修改的功能如下:
- 在eptcp.c和epudp.c文件定义的接口函数中,增加了sockopt_t参数;
- 修改iotimer_stop函数参数,解决定时器对象被释放后还继续访问的问题;
- 修订了epdns.c中的多个bug,增加了几个DNS事件,优化了处理流程,解决了调用dns_query和DNS解析回调是同一个线程的问题;
- 优化了iodev的bind机制,解决设备读写事件的触发时机导致的线程同步问题;
- 采用内存池机制,优化并提升了ePump系统中所有内存使用的效率;