蓝天

2013年1月17日 #

boost日期、时间操作

摘要: #include boost::posix_time::ptime now = boost::posix_time::from_time_t(time(NULL));boost::posix_time::to_simple_string(now); // CCYY-m... 阅读全文

posted @ 2013-01-17 15:06 #蓝天 阅读(237) 评论(0) 推荐(0) 编辑

boost库thread.hpp编译警告(type attributes are honored only at type definition)已修复

摘要: 请浏览:https://svn.boost.org/trac/boost/ticket/7874#7874: compile warning: thread.hpp:342: warning: type attributes are honored onlyat ty... 阅读全文

posted @ 2013-01-17 10:50 #蓝天 阅读(155) 评论(0) 推荐(0) 编辑

apache thrift的不足

摘要: thrift作为RPC优点明显,那些还在坚持使用消息排斥RPC的同学,都应当亲自接触体验一下。 不过thrift确实还有些明显的不足,表现在: 1.不能指定IP TNonblockingServer.cpp: for (res = res0; res; res =... 阅读全文

posted @ 2013-01-17 10:44 #蓝天 阅读(204) 评论(0) 推荐(0) 编辑

导航