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

 

posted @ 2015-04-22 17:53  souroot  阅读(1527)  评论(0编辑  收藏  举报