openwrt多线程

参考此

http://blog.chinaunix.net/uid-23842323-id-2656572.html

然后makefile中要加上:

define Package/apcp
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpthread

TARGET_LDFLAGS+=-lpthread

TITLE:=apcp daemon
endef

原文地址:https://www.cnblogs.com/souroot/p/4448213.html