![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hadoop c++
仲夏夜有蚊子
啥都没有呢奋斗中
展开
-
hadoop上运行c++程序步骤
一。写一个程序保存为wordcount-simple.cpp: #include "hadoop/Pipes.hh" #include "hadoop/TemplateFactory.hh" #include "hadoop/StringUtils.hh" const std::string WORDCOUNT = "WORDCOUNT"; const std::string INPUT_WO转载 2013-07-16 17:29:06 · 2003 阅读 · 0 评论 -
linux 线程同步
最近看《UNIX环境高级编程》多线程同步,看到他举例说条件变量pthread_cond_t怎么用,愣是没有看懂,只好在网上找了份代码,跑了跑,才弄明白 [cpp] view plaincopy #include #include #include pthread_mutex_t mutex = PTHREAD_MUTEX_IN转载 2014-01-02 19:47:26 · 518 阅读 · 0 评论