??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品一区二区男女羞羞无遮挡 ,韩国一区二区三区美女美女秀,一区二区三区 在线观看视http://m.shnenglu.com/true/category/3805.htmlzh-cnThu, 09 Dec 2010 21:25:23 GMTThu, 09 Dec 2010 21:25:23 GMT60boost的安装版?/title><link>http://m.shnenglu.com/true/archive/2010/12/06/135572.html</link><dc:creator>true</dc:creator><author>true</author><pubDate>Mon, 06 Dec 2010 04:08:00 GMT</pubDate><guid>http://m.shnenglu.com/true/archive/2010/12/06/135572.html</guid><wfw:comment>http://m.shnenglu.com/true/comments/135572.html</wfw:comment><comments>http://m.shnenglu.com/true/archive/2010/12/06/135572.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/true/comments/commentRss/135572.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/true/services/trackbacks/135572.html</trackback:ping><description><![CDATA[<a >http://www.boostpro.com/download/</a><br>目前只有windowsq_的,而且?2? <img src ="http://m.shnenglu.com/true/aggbug/135572.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/true/" target="_blank">true</a> 2010-12-06 12:08 <a href="http://m.shnenglu.com/true/archive/2010/12/06/135572.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>很好的boost学习资料http://m.shnenglu.com/true/archive/2010/08/20/124057.htmltruetrueFri, 20 Aug 2010 01:13:00 GMThttp://m.shnenglu.com/true/archive/2010/08/20/124057.htmlhttp://m.shnenglu.com/true/comments/124057.htmlhttp://m.shnenglu.com/true/archive/2010/08/20/124057.html#Feedback0http://m.shnenglu.com/true/comments/commentRss/124057.htmlhttp://m.shnenglu.com/true/services/trackbacks/124057.htmlhttp://zh.highscore.de/cpp/boost/
http://code.google.com/p/boost-doc-zh/

true 2010-08-20 09:13 发表评论
]]>
boost interprocess之message queuehttp://m.shnenglu.com/true/archive/2008/07/31/57579.htmltruetrueThu, 31 Jul 2008 00:58:00 GMThttp://m.shnenglu.com/true/archive/2008/07/31/57579.htmlhttp://m.shnenglu.com/true/comments/57579.htmlhttp://m.shnenglu.com/true/archive/2008/07/31/57579.html#Feedback0http://m.shnenglu.com/true/comments/commentRss/57579.htmlhttp://m.shnenglu.com/true/services/trackbacks/57579.html     message queue亦即消息队列Q在linux 下有msgsndQmsgrcvpdQ在windows下有msmqQ关于他们的怼及区别,h阅相兌料,本文主要是简单介l一下boost提供的解x案,及其性能?br>   boost提供的message queue发送接口有sendQtry_sendQtimed_sendQ接收接口有receiveQtry_receiveQtimed_receiveQ其它接口有get_max_msgQget_max_msg_sizeQget_num_msgQremove。学习难度不高。下面测试一下send的发送速度Q?br>    试代码Q?br>
#define BOOST_ALL_DYN_LINK
#include <boost/interprocess/ipc/message_queue.hpp>
#include <boost/format.hpp>
#include <boost/progress.hpp>
#include <iostream>
#include <string>
#include <vector>

using namespace boost;
using namespace boost::interprocess;

#define MAX_MSG_COUNT 50000
#define MAX_MSG_SIZE 1024

int main ()
{
try{
  //Erase previous message queue
  message_queue::remove("message_queue");

  //Create a message_queue.
  message_queue mq
   (create_only               //only create
   ,"message_queue"           //name
   ,MAX_MSG_COUNT                       //max message number
   ,MAX_MSG_SIZE               //max message size
   );
  
  
  {
   progress_timer pt;//记录旉Q多方便Q?br>  
   for(int i = 0; i < 5000; ++i)//可灵z调整i的大?br>   {    
    std::string msg = str(format("hello world %d") % i);
    bool bRet = mq.send(msg.c_str(),msg.size(),0);  
   }
  }
  
}

catch(interprocess_exception &ex)
{
  message_queue::remove("message_queue");
  std::cout << ex.what() << std::endl;
  return 1;
}
//message_queue::remove("message_queue");
return 0;
}

  我的试l果如下Q?br>500    0.16s
1000   0.41/0.50  -->表示了2ơ,W一?.41sQ第二次0.50sQ下?br>5000?5.88s/6.16
10000  22.81s/22.34
20000  87.92/91.22

   最后简单ȝ一下boost message queueQ?br>  优点Q速度q不错,接口学习h单,方便易用
  ~点Q我在windows下测试,当一直在写队列时Q用ctrl + c中断Q然后用另一q程读读队列Q读操作旉塞。单步跟t发?br>  是阻塞在interprocess_mutex::lock加锁的操作上Q健壮程度远不如msgsndQmsgrcvpdQ及msmqQ该~点比较致命。目前没有测试linux下的情况?br>

true 2008-07-31 08:58 发表评论
]]>
Asio实现的实用echo serverhttp://m.shnenglu.com/true/archive/2008/07/20/56678.htmltruetrueSun, 20 Jul 2008 05:45:00 GMThttp://m.shnenglu.com/true/archive/2008/07/20/56678.htmlhttp://m.shnenglu.com/true/comments/56678.htmlhttp://m.shnenglu.com/true/archive/2008/07/20/56678.html#Feedback3http://m.shnenglu.com/true/comments/commentRss/56678.htmlhttp://m.shnenglu.com/true/services/trackbacks/56678.html阅读全文

true 2008-07-20 13:45 发表评论
]]>
怪异的boostQfatal error LNK1104: 无法打开文g“libboost_system-vc80-mt-gd-1_35.lib?/title><link>http://m.shnenglu.com/true/archive/2008/07/16/56283.html</link><dc:creator>true</dc:creator><author>true</author><pubDate>Wed, 16 Jul 2008 05:19:00 GMT</pubDate><guid>http://m.shnenglu.com/true/archive/2008/07/16/56283.html</guid><wfw:comment>http://m.shnenglu.com/true/comments/56283.html</wfw:comment><comments>http://m.shnenglu.com/true/archive/2008/07/16/56283.html#Feedback</comments><slash:comments>13</slash:comments><wfw:commentRss>http://m.shnenglu.com/true/comments/commentRss/56283.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/true/services/trackbacks/56283.html</trackback:ping><description><![CDATA[<p>#include <iostream><br>#include <boost/asio.hpp><br>#include <boost/date_time/posix_time/posix_time.hpp></p> <p>int main()<br>{<br> boost::asio::io_service io;</p> <p> boost::asio::deadline_timer t(io, boost::posix_time::seconds(5));<br> t.wait();</p> <p> std::cout << "Hello, world!\n";</p> <p> return 0;<br>}<br></p> 上面是boost文自带的代码,~译出现错误。代码是不需要链接libboost_system-vc80-mt-gd-1_35.libQؓ什么还出现q样的错误呢Q他默认q接Q知道的Q恢复一下:Q? <img src ="http://m.shnenglu.com/true/aggbug/56283.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/true/" target="_blank">true</a> 2008-07-16 13:19 <a href="http://m.shnenglu.com/true/archive/2008/07/16/56283.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>boost 1-35~译http://m.shnenglu.com/true/archive/2008/07/12/55980.htmltruetrueSat, 12 Jul 2008 14:01:00 GMThttp://m.shnenglu.com/true/archive/2008/07/12/55980.htmlhttp://m.shnenglu.com/true/comments/55980.htmlhttp://m.shnenglu.com/true/archive/2008/07/12/55980.html#Feedback3http://m.shnenglu.com/true/comments/commentRss/55980.htmlhttp://m.shnenglu.com/true/services/trackbacks/55980.html1.点击 开?>E序->Microsoft Visual Studio 2005->Visual Studio Tools->Visual Studio 2005 命o提示
2.cd D:\Libs\boost_1_35_0\tools\jam\src
3.build.bat
 此时在src\bin.ntx86\目录下生了bjam.exe
4.bjam.exe拯到boost的根目录D:\Libs\boost_1_35_0
5.cd D:\Libs\boost_1_35_0
6.bjam.exe --build-dir=build --toolset=msvc stage
 
 ~译完成后,产生?个目录build和stageQ但同时也发C个奇怪问题:stage里面的文Ӟ竟然?br>很多相同的libQ比如boost_date_time-vc80-mt-1_35.lib和boost_date_time-vc80-mt.libQ?br>     boost_filesystem-vc80-mt-1_35.lib和boost_filesystem-vc80-mt.lib
他们文g的大一P只是文g名稍微不同,一个带有版本号Q另一个没有。编译的问题Q还是boost本n?br>Ҏ含义Q比较奇怪!


2010-12-9日更斎ͼVS2008~译boost 1.44
0。进入cmdH口
1。解压到QD:\libsQ得到根目录QD:\libs\boost_1_44_0
2。cd D:\libs\boost_1_44_0
3。bootstrap.bat
~译bjamQƈbjam.exe复制到当前目?׃机器上装有VS2010Qbjam是用VS2010~译完成的,q个和最l用什么编译boost无关
4。bjam.exe --build-dir=build --toolset=msvc-9.0 stage
默认为静态库~译方式Q编译完成后Q会产生build和stage目录。比较奇怪的是,会用到VS2010,如编译mathӞ初步查看可以定Q应该是cM配置斚w的东西,q没有用2010~译出来的库。由于刚开始就出现vc10的字P我一直以为是~译命o有问题,于是Crtl + Cl端Q然后阅L查N题,多次试验无解Q折腾了一天多Q今晚偶然一ơ没有中断,最后又出现vc9.0的字P{待~译完成后,才明白!

true 2008-07-12 22:01 发表评论
]]>
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            þùھƷƵ| þۺ| þþþþþþ| ɫСƵ| Ʒa˳ | 91þþƷ| һ| Ʒպ߹ۿ| ŷרպר| ŷaһ| þþ޾Ʒһ| СƵ| ߹ۿ| һۺ| 㽶Ƶ߹ۿ| ŷһƷþþ| 99ȾƷ߹ۿ| 99߾ƷƵ| | ȷӰþþ| þþþƷ| ŷҹ糡ѹۿ| ŷһŮ þþƷ | ޹Ʒvaڿ| ŷһ߲| ŷƵһ| ëƬһ| ºϼ| ŷһƵ| ŷպ| һɫþۺ޶| ŷ߹ۿһ| Ʒþþþþþþþ| һƵŷ| ŷһ| 9ɫƷ| ŷٸ| ۺƵ| ŷ˾þþþþҹþþþ| ŷƵһ߹ۿ| ŷƵ| ƷigaoƵַպ| ޻ɫ߿| þۺһ| ҹƷһ߲| ŷպȤӰ| ëƬ߿| ޴av| þþۺ| һ| þþþһ| þõӰ| ŷղ99| һɫþۺϾƷ | ŷƵ| Ʒþþþþþþ| Ƶ| ձ岻| ŷۺ| 99ƷƷþ | ޵Ӱѹۿ| ŷëƬ| ŷƵһ| þù| ҹһ| ŷ| ޾Ʒ鶹| ŷҹƷþþþþ| һ| һƷ| Ʒҹɫav| ŷ߻ɫ| Ůվþ| Ƶձ| ҹƷƵһ| ߹ۿŷƷ| ͵| ƷëƬaһ|| ҹҳ| ۺϵһҳ| ݺۺϾþavһţ| ¸ר| ޾Ʒר| Ʒһ| þóۺɫ| hƷƵ߲| պҹ| ŷպ߹ۿa | ŷһ߿| һ߲| ŮƷƵ| ŷձһ岥Ƶ| ŷպϵ| þþþ99| ҹav| þۺ| ŷһƵ| þþþ| ŷһҳ| ձþ99| ҹ߹ۿ| þѹۿƵ| Ʒ99þþþþwww| þó˹| ŷۺһ| ŷ| þƵ| ŷҹƷþþþþ| þӰȷ| պһ| ޾Ʒþþþþþþþþ| ձŷƵ| ޾Ʒŷ| ޹ëƬ | ŷһ| | ŷպձ| ѹۿ| ŷպƷ˿߸Ь | þóavٸ| ëƬ| þþ| ŷƵһ| ƷŮҸ߳| ޹Ӱ| ձ| ŷ.պ..һ.| þۺϳ˾Ʒŷ| Ʒһ| ޾ƷƵ߹ۿ| ޾ѡƵѿ| þ鶹| ޵Ӱ| ޹˾þ| avԾþþþa| ŷ3dxxxxhd| պ޾ƷƵ| ŷպ߹ۿƵ| һþaþۺ| Ļһ| ŷҹ糡| ŷxƵ| ھƷþþþþþùý| Ӱ| þһƷ| ޴վ| ŷƷһ| պƵһ߹ۿ | ƵӰͼƬ͵һ| ŷպۺ| һ| þþžžƷ99Ʒ| ۺϾþ| ŮѹڿƵþӰԺ | ҹӰԺպ| þƵ| պ޹Ʒ| ƷۺƵ| þþƷŮ| ޹þþۺ| ҹҹavһҳ| Ʒtheporn| þþþþþþ| Ļmvһ| ɫƷ| þùŷպƷ| Ƭһ| ޻ɫһ| Ʒҹҹҹҹav| ŷһ| ޸Ƶ| ŷһƬ| ޹Ƶ| Ʒþþþþþ| þþƷƷۺ| ƴƬ| þùھƷƵ| һwww| Ʒavþѿ| ŷպ| þþav| ۺϵ| 91þùԲҹҹ| ŷĻƷ| ҹԴ̼ӰԺ| ޵һƷ| һ| ŷƷһ| þþҹӰ| һ| պŷۺ| ߿һ| þþƷ| ŷһҹҹƬ| ޾Ʒ߹ۿƵ| ˾þô߽avԱ| ƷĻ߹ۿ| ŷպƬ| ŷ| ëƬavĻһ|