Permalink
Browse files

加入了多线程,使用了互斥量进行同步

  • Loading branch information...
1 parent b1f3daa commit 74aaf79fa870888d71376bc15b568c3007fbf427 @Yemsheng committed Jan 28, 2013
Showing with 71,446 additions and 21 deletions.
  1. +1 −1 spider/g++.sh
  2. +70,874 −0 spider/log
  3. BIN spider/spider
  4. +125 −20 spider/spider.cpp
  5. +446 −0 spider/spider.cpp~
View
@@ -1,4 +1,4 @@
#! /bin/sh
echo "g++ spider.cpp -o spider"
-g++ spider.cpp -o spider
+g++ spider.cpp -o spider -lpthread
Oops, something went wrong.

0 comments on commit 74aaf79

Please sign in to comment.