锘??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美在线免费视频,在线视频精品一区,久久夜色精品国产亚洲aⅴhttp://m.shnenglu.com/frank28/zh-cnSun, 16 Nov 2025 03:57:59 GMTSun, 16 Nov 2025 03:57:59 GMT60[鍩洪噾] 鍏ュ競浜?/title><link>http://m.shnenglu.com/frank28/archive/2008/08/13/58739.html</link><dc:creator>frank28_nfls</dc:creator><author>frank28_nfls</author><pubDate>Wed, 13 Aug 2008 09:47:00 GMT</pubDate><guid>http://m.shnenglu.com/frank28/archive/2008/08/13/58739.html</guid><wfw:comment>http://m.shnenglu.com/frank28/comments/58739.html</wfw:comment><comments>http://m.shnenglu.com/frank28/archive/2008/08/13/58739.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/frank28/comments/commentRss/58739.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/frank28/services/trackbacks/58739.html</trackback:ping><description><![CDATA[ 涓鐩存敹钘忕潃<a title="laok鐨刡log" id="gf2h">laok鐨刡log</a> 錛岃鍩洪噾鐨刡log錛岃繕鐭ラ亾浠栨湁涓鏈婃垜鐨勬姇璧勮鍜屽疄璺點嬶紝鎯崇潃鏈変竴澶╄涔板熀閲戜簡灝卞ソ濂界爺絀朵竴涓嬬殑銆?br id="bozf">浠婂ぉ娌′簨鐨勬椂鍊欑炕浜嗗嚑綃囷紝鐪嬬潃鐪嬬潃鏈変簡鎰熻錛屾渶鍚庡繊涓嶄綇灝辨墜鐥掑幓鎷涜瀹炶返浜嗕竴鎶婏紝浜庢槸鎴戝氨榪欎箞涔熸垚涓轟簡鈥滃熀姘戔濄?br id="cqtj"><br id="cqtj0">鐪嬭繃鐨勫嚑綃囧仛涓瑪璁幫細<br id="acel"><ul id="acel0"><li id="acel1"><b id="anfz"><a title="1錛岃鎶婂灝戝瓨嬈劇敤鏉ユ姇璧勶紵" id="gano">1錛岃鎶婂灝戝瓨嬈劇敤鏉ユ姇璧勶紵</a></b> <br id="mgfa"><blockquote id="ureq">騫撮緞瓚婂ぇ瓚婂簲璇ヤ繚瀹?br id="dxk9">寤鴻錛?0宀侊紝30錛呯殑璧勪駭錛屽悇縐嶆姇璧勪笉瓚呰繃70錛咃紱40宀侊紝鍌ㄨ搫40錛咃紝鎶曡祫60錛咃紱60宀侊紝鍌ㄨ搫60錛咃紝鎶曡祫40錛呫?br id="ureq0"></blockquote>榪欎釜鎰忚鍩烘湰涓婂拰銆婂濂旀棌鐞嗚儲銆嬫剰瑙佷竴鑷達紝涔熷緢鍚堢悊銆?br id="g:bq"><br id="ureq1"></li><li id="ureq2"><b id="anfz0"><a title="3錛?絎竴鍙熀閲戜拱鐢氫箞錛? id="c9zx">3錛?絎竴鍙熀閲戜拱鐢氫箞錛?/a></b> <br id="ureq3"><blockquote id="bksh">寤鴻絎竴鍙熀閲戝幓涔拌揣甯佸熀閲戙?璐у竵鍩洪噾鍐嶆庝箞涔頒篃涓嶄細鏈夋崯澶?br id="zcfw"><ul id="cy6_"><li id="cy6_0">棣栧厛鍙栧喅浜庝綘鐨勯闄╂壙鍙楄兘鍔涘拰浣犲噯澶囨姇璧勭殑騫撮檺錛屽厛瑕佺‘瀹氭姇璧勭敋涔堝熀閲戝搧縐嶏紱</li><li id="cy6_1">鍐嶇‘瀹氭槸鍝釜鍏徃鐨勫摢縐嶅熀閲戙傞夋嫨鏅ㄦ槦璇勭駭鑷沖皯4鏄熶互涓婄殑錛?/li><li id="emxp">涓嶈兘浠ョ煭鏃墮棿璁鴻嫳闆勶紱涓変釜鏈堬紝鐢氳嚦鍗婂勾浠ュ唴鐨勬帓浣嶆垜璁や負娌℃湁浠諱綍鎰忎箟銆?/li></ul>鎸囨暟鍩洪噾涓嶆帹鑽愶紝鍥犱負涓浗甯傚満涓嶅瑙勮寖錛堢編鍥界殑甯傚満鍩烘湰涓婃槸鏈夋晥鐨勶紝浣嗕腑鍥界殑甯傚満鎭愭曡繛鍗婃湁鏁堝競鍦洪兘涓嶆槸錛?br id="ucp:">鏂板熀閲戜笉鏄釜濂介夋嫨錛涜佺墝鍩洪噾鍏徃涓嬬殑鑰佺墝鍔叉梾鍩洪噾鎭愭曟槸涓涓ソ閫夋嫨<br id="bksh0"></blockquote><br id="bksh1"></li><li id="bksh2"><b id="anfz1"><a title="5錛屽叧浜庡熀閲戝畾鎶? id="m-j_">5錛屽叧浜庡熀閲戝畾鎶?/a></b> <br id="x4bd"><blockquote id="kwir">鎴戦噰鐢ㄧ殑鏄竴嬈℃ф姇鍏ュ拰瀹氭姇緇撳悎鐨勫姙娉曘?br id="drsl">褰撴垜絎竴嬈℃妸閾惰鐨勫瓨嬈炬姇鍏ュ熀閲戠殑鏃跺欙紝鎴戝熀鏈噰鐢ㄧ殑鏄竴嬈℃ф姇鍏ワ紙瀹為檯涓婃垜鏄湪杈冪煭鐨勬椂闂村垎鎵規姇鍏ョ殑錛岃繖鏍烽檷浣庡伓鐒舵定璺屽獎鍝嶏級銆?br id="drsl0">鑰屽悗鏉ユ瘡涓湀鐨勭粨浣欏伐璧勬槸閲囩敤瀹氭姇鐨勬柟寮忔潵瀛樺吇鑰侀噾銆?br id="emxp0"><br id="i2-2">瀹氭姇鏈澶х殑濂藉瀹為檯涓婃槸蹇冪悊涓婄殑銆?br id="f:rx">瀹氭姇灝卞彲浠ラ艱揩浣犲厠鏈嶄綘鐨勮椽濠傝繖鏄竴縐嶅己鍒舵х殑闈炲父鏈夌邯寰嬫х殑鎶曡祫鏂瑰紡錛屽埆鍘昏冭檻鑲″競鐨勬定璺岋紝涔熶笉瑕佽瘯鍥炬姄浣忚繖縐嶆定璺屻?br id="f:rx0">瑕佹敞鎰忎弗鏍肩殑鎶曡祫綰緥鎬у湪鎶曡祫涓婃槸闈炲父閲嶈鐨勩?br id="f:rx1"></blockquote>鍡紝瀹氭姇鏄緢鍚堢悊鐨勯夋嫨鍟婏紝铏界劧娉㈡鐨勮鎯戝緢澶с傘傘?br id="g:bq0"><br id="f:rx2"></li><li id="f:rx3"><b id="anfz2"><a title="13錛屾垜涓轟粈涔堥夋嫨騫垮彂鍜屼笂鎶? id="dn:b">13錛屾垜涓轟粈涔堥夋嫨騫垮彂鍜屼笂鎶?/a></b> <br id="wj8_"><blockquote id="p-y0">璇勪環涓涓熀閲戝叕鍙哥殑濂藉潖錛屽彲浠ョ湅浠栨墍鏈夌殑鍩洪噾鐨勫鉤鍧囨按騫熾?br id="axat">涓昏鍙傝冩煇瀹跺熀閲戝叕鍙告墍鏈変駭鍝佸湪鏅ㄦ槦鐨勮瘎綰э紝濡傛灉澶氭暟鏄?鏄熺殑鍩洪噾鍝佺錛岃鏄庤繖瀹跺熀閲戝叕鍙告暣浣撴按騫充笉閿欍?br id="sj3y"></blockquote>鎰熻鍜宼aobao涓婃寫鍗栧宸笉澶氥傘傘?br id="g:bq1"><br id="sj3y0"></li><li id="sj3y1"><b id="anfz3"><a title="31錛屽啀璇村畾鎶? id="xanr">31錛屽啀璇村畾鎶?/a></b> <br id="plpg"><blockquote id="p-y00">涓涓ā鎷熺殑渚嬪瓙璇存槑瀹氭姇鏀剁泭鏈緇堝ソ浜庝竴嬈℃ф姇鍏?br id="fzj6">鑻辨枃涓畾鎶曠О涓篸ollar-cost average鏂規硶<br id="vks-">濡傛灉浣犺闀挎湡鎶曡祫錛屾寜鐓ф櫘閬嶇殑璁や負錛屽ぇ鐩樻槸闀挎湡鍚戜笂鐨勶紝鍦ㄨ繖涓悜涓婄殑瓚嬪娍涓婃湁寰堝鐭湡鐨勬嘗鍔ㄣ傞偅瀹氭姇瀹為檯涓婂氨鏄鉤婊戜簡榪欑娉㈠姩錛屾渶鍚庡緱鍒頒竴涓鉤鍧囨晥鐩娿?br id="qpuy">瀹氭姇涓嶆槸鏈濂界殑闀挎湡鎶曡祫鏂規錛屼絾濡傛灉浣犳病鏈夐偅涔堝璧勯噾榪涜涓嬈℃ф姇璧勶紝渚嬪浣犳槸浠庢瘡涓湀鐨勬敹鍏ヤ腑鎻愬彇涓閮ㄥ垎錛屽畾鎶曞垯鏄潪甯稿ソ鐨勯夋嫨銆?br id="qpuy0"><br id="qpuy1">鏃犺甯傚満鏄墰鏄唺榪樻槸鐚達紝瀹氭姇閮芥槸涓涓笉閿欑殑鍔炴硶錛岃繖鏄垜鐨勮蹇點?br id="qpuy2"></blockquote><br id="qpuy3"></li><li id="qpuy4"><b id="anfz4"><a title="15錛岀粰鍩洪噾鏂版墜鐨勪竴浜涘緩璁? id="u2xy">15錛岀粰鍩洪噾鏂版墜鐨勪竴浜涘緩璁?/a></b> <br id="bfjh"><blockquote id="p-y01">鎺ㄨ崘錛?a id="p-y02" >鍩洪噾鎶曡祫鍏ラ棬緋誨垪璐存眹鎬匯愭柊鎵嬪繀璇匯?</a><br id="p-y03"></blockquote>榪欑瘒榪樻病鐪嬪畬錛岃洰緋葷粺鐨勪粙緇嶄簡鍏ラ棬錛岃繖涓互鍚庡洖鏉ラ噸璇匯傘傘?br id="g_ed">鍙﹀鎻愬埌鐨勮繖綃囧叆闂ㄨ創錛岄噸鐐圭湅浜嗛噷闈粙緇?a title="璐у竵鍩洪噾" id="py7n">璐у竵鍩洪噾</a>鐨勯儴鍒嗐傛諱箣璐у竵鍩洪噾灝辨槸椋庨櫓灝忓洖鎶ュ皬錛屽熀鏈彲浠ョ敤鏉ヤ唬鏇垮瓨嬈劇殑涓滆タ鍚?br id="g_ed0"></li></ul><br id="krkk"><br id="krkk0">鍏朵綑鐨勭炕浜嗗嚑綃囷紝鏈夋秹鍙婂埌鎶鏈?鏁板瓧鍒嗘瀽鏂歸潰鐨勶紝娌′粩緇嗘帹鏁層備竴鏂歸潰涔熸槸鐪嬩簡涓婇潰鐨勫嚑綃囧凡緇忓績鐥掔棐浜嗭紝鍛靛懙<br id="hfzr"><br id="krkk1">浜庢槸鐓ф惉浜嗗嚑鏉℃剰瑙侊紝鍘繪嫑琛岃繕鏈夋櫒鏄熼涗簡閫涳紝鏈鍚庡氨閫夊畾浜?a title="鍢夊疄璐у竵" id="hi1:">鍢夊疄璐у竵</a> 榪欏彧銆備富瑕佹槸錛?br id="agaq"><ol id="agaq0"><li id="agaq1">鑲畾閫変竴鍙揣甯佸熀閲戯紱鍙﹀鐜板湪鑲$エ甯傚満榪樺お娣蜂貢錛岀湅涓嶆竻錛屾劅瑙夎揣甯佸熀閲戜篃紼沖Ε浜涖?/li><li id="zn4g">鎶曞叆涓嶅錛屼笉瓚呰繃鎵鏈夎祫閲戠殑1/5<br id="zn4g0"></li><li id="agaq2">鐪嬩簡鍢夊疄鐨勫叾浠栧熀閲戝搧縐嶏紝铔鍦ㄦ櫒鏄熻揪鍒頒簡5鏄熺殑璇勪環</li><li id="j._6">涓嶆槸鏀剁泭鏈楂樼殑錛屼絾鏅ㄦ槦瀵瑰畠鍘誨勾鐨勮瘎浠蜂篃涓嶉敊錛岃屼笖鏌ョ湅浜嗚繎鍑犲懆鎺掑悕錛岄兘鎺掑湪璐у竵鍩洪噾鐨勭涓浣嶃?/li><li id="ypjo">鏅ㄦ槦瀵瑰槈瀹炶揣甯佸幓騫存敹鐩婄殑鎺掑悕鏄浜岋紝絎竴鏄腑淇$幇閲戜紭鍔匡紝涓嶈繃鎷涜涓嶈兘涔幫紱涓俊鐜伴噾浼樺娍浼間箮涔熶笉閿欙紝鍊煎緱鍏蟲敞</li></ol><br id="ose:">浠ュ悗鑰冭檻錛?br id="ose:0"><ol id="ose:1"><li id="ose:2">鍐嶄粩緇嗙爺絀朵竴浜涘熀閲戠煡璇嗭紝鍚屾椂鍒囪韓浣撲細涓涓嬫搷浣滃熀閲戠殑鎰熻</li><li id="ose:3">閲嶇偣鑰冭檻瀹氭姇涓鍒頒袱鍙偂紲ㄥ瀷鍩洪噾錛屾瘯绔熺幇鍦ㄧ殑鑲″競閭d箞浣庯紝鍙嶅脊絀洪棿璇變漢鍟婏綖</li><li id="jcqu"><a title="璐㈠府瀛愮綉" id="jxav">璐㈠府瀛愮綉</a>鐪嬩笂鍘昏繕涓嶉敊錛屾垨鑰呰鎵句竴涓悓綾葷殑宸ュ叿鍨嬬綉绔欙紝鏈濂戒篃鑳藉寘鎷偂甯傛姇璧勮褰曠殑</li></ol><br id="ose:5"><br id="ose:6"><br id="fuo8"><img src ="http://m.shnenglu.com/frank28/aggbug/58739.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/frank28/" target="_blank">frank28_nfls</a> 2008-08-13 17:47 <a href="http://m.shnenglu.com/frank28/archive/2008/08/13/58739.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>[PyCairo]瀹夎/璧勬枡鏀墮泦http://m.shnenglu.com/frank28/archive/2008/07/30/57520.htmlfrank28_nflsfrank28_nflsWed, 30 Jul 2008 08:12:00 GMThttp://m.shnenglu.com/frank28/archive/2008/07/30/57520.htmlhttp://m.shnenglu.com/frank28/comments/57520.htmlhttp://m.shnenglu.com/frank28/archive/2008/07/30/57520.html#Feedback0http://m.shnenglu.com/frank28/comments/commentRss/57520.htmlhttp://m.shnenglu.com/frank28/services/trackbacks/57520.html瀹夎
  1. 瀹夎cairo鐨剅untime搴?br id="h2.f">
    http://www.cairographics.org/download/

    鍦?a id="e0h6" >official GTK+ for Windows page錛屼笅杞芥渶鏂扮増鐨?cairo"銆?libpng"銆?zlib"
    瑙e嚭libcairo-2.dll, libpng12.dll鍜寊lib1.dll錛屾斁鍒版煇鐩綍涓紙濡俤:cairobin錛夛紝灝嗚繖涓洰褰曞姞鍏ョ郴緇烶ath
  2. 瀹夎python2.5

  3. 瀹夎PyCairo
    http://bbs.chinaunix.net/viewthread.php?tid=1162830
    甯栧瓙璁茬殑鏄疨yGTK鐨勫畨瑁咃紝鑰屼笖鑰佷簡錛屼絾鎻愬埌寰堟湁鐢ㄧ殑淇℃伅錛?br id="umi8">
    windows鐗堢殑PyCairo瑕佸幓gnome鐨刦tp涓嬶紝鏈鏂扮殑1.4鐗?br id="u_.k">鍦?a title="cairo涓婚〉涓婃壘鍒扮殑PyCairo" id="bwyt">cairo涓婚〉涓婃壘鍒扮殑PyCairo 涓嬭澆鏄簮鐮佸寘錛屾湁涓猻etup.py錛屼絾瀹夎澶辮觸錛屾彁紺烘壘涓嶅埌cairo

  4. 嫻嬭瘯
    http://www.cairographics.org/pycairo/
    榪愯鍏朵腑鐨別xample

璧勬枡

  1. Cairo Tutorial for Python Programmers
    http://www.tortall.net/mu/wiki/CairoTutorial
  2. PyCairo涓婚〉
    http://www.cairographics.org/pycairo/
  3. cairo C documentation
    http://www.cairographics.org/manual/


]]>
[google]How I feel about Google Serviceshttp://m.shnenglu.com/frank28/archive/2008/04/29/google_services_review.htmlfrank28_nflsfrank28_nflsTue, 29 Apr 2008 08:49:00 GMThttp://m.shnenglu.com/frank28/archive/2008/04/29/google_services_review.htmlhttp://m.shnenglu.com/frank28/comments/48463.htmlhttp://m.shnenglu.com/frank28/archive/2008/04/29/google_services_review.html#Feedback0http://m.shnenglu.com/frank28/comments/commentRss/48463.htmlhttp://m.shnenglu.com/frank28/services/trackbacks/48463.htmlsearch: this is where all story begins
gmail: daily use, just another legend
docs: AWESOME! makes doc not just doc
toolbar for Firefox: some great tools to make Firefox even greater
reader: now part of my life, to let me know what's happening around
translate: not accurate, but always help
blog search: specific tool for specific use
notebook: just not suitable for me
calendar: reminding-SMS is really useful, pity that i'm not always a scheduled person
gtalk: simple and clean. great backup for MSN, though not a replacement yet
picasa: offline tool + online holding. perfect match
blogger: really convenient when combining with google docs; really suck when being blocked by GFW!
mobile: reader, search, map... just give me more!
YouTube: not really so atractive among tons of copiers
iGoogle: not so atractive either, sorry, i prefer classic google homepage
page creator: to build a personal web page is always my dream, but...孌嬪康
desktop search: great idea, but hey guys, you can do better
code: for specialists, seems to be better than sourceforge, we'll see...
SketchUp: not really used, but really interested of this move direction
gadget and OpenSocial: these guys make Javascript so sexy!
earth: thanks for offering a free tour of world


My top 5

SearchSearch GmailGmail DocsDocs Reader TalkTalk



btw: I just feel like to speak some english after watching "how i met ur mother", anyway...



]]>
[boost.thread] Synchronization 鍚屾http://m.shnenglu.com/frank28/archive/2008/04/29/48431.htmlfrank28_nflsfrank28_nflsTue, 29 Apr 2008 06:28:00 GMThttp://m.shnenglu.com/frank28/archive/2008/04/29/48431.htmlhttp://m.shnenglu.com/frank28/comments/48431.htmlhttp://m.shnenglu.com/frank28/archive/2008/04/29/48431.html#Feedback0http://m.shnenglu.com/frank28/comments/commentRss/48431.htmlhttp://m.shnenglu.com/frank28/services/trackbacks/48431.htmlhttp://www.boost.org/doc/libs/1_35_0/doc/html/thread/synchronization.html

Mutex姒傚康
綰跨▼鍚屾鏈鍩烘湰鐨勬槸mutex錛坢utual exclusion鐨勭緝鍐欙級銆備竴涓簰鏂ヤ綋涓嬈″彧鍏佽涓涓嚎紼嬭闂叡浜尯銆傚綋涓涓嚎紼嬫兂瑕佽闂叡浜尯鏃訛紝棣栧厛瑕佸仛鐨勫氨鏄攣浣忥紙lock錛変簰鏂ヤ綋銆傚鏋滃叾浠栫殑 綰跨▼宸茬粡閿佷綇浜嗕簰鏂ヤ綋錛岄偅涔堝氨蹇呴』鍏堢瓑閭d釜綰跨▼灝嗕簰鏂ヤ綋瑙i攣錛岃繖鏍峰氨淇濊瘉浜嗗悓涓鏃跺埢鍙湁涓涓嚎紼嬭兘璁塊棶鍏變韓鍖哄煙銆?br id="o7hu">
Boost.Thread supplies recursive and non-recursive mutexes with exclusive ownership錛堢嫭鍗狅級 semantics, along with a shared ownership 錛堝叡浜級 (multiple-reader / single-writer) mutex.
Boost.Thread supports four basic concepts for lockable objects:

Lockable,
exclusive ownership
TimedLockable,
Lockable鐨勫熀紜涓婂姞涓婁簡timeout
SharedLockable,
TimedLockable鍩虹涓婏紝鍏佽shared ownership錛堝悓鏃朵篃鏀寔exclusive錛?br id="fd4b">
This is the standard multiple-reader / single-write model:
at most one thread can have exclusive ownership, and if any thread does have exclusive ownership, no other threads can have shared or exclusive ownership. Alternatively, many threads may have shared ownership.
UpgradeLockable,
SharedLockable鍩虹涓婏紝鍏佽upgradable ownership錛堝悓鏃朵篃鏀寔shared銆乪xclusive錛?br id="et:2">
This is an extension to the multiple-reader / single-write model provided by the SharedLockable concept:
a single thread may have upgradable ownership at the same time as others have shared ownership. The thread with upgradable ownership may at any time attempt to upgrade that ownership to exclusive ownership. If no other threads have shared ownership, the upgrade is completed immediately, and the thread now has exclusive ownership, which must be relinquished by a call to unlock(), just as if it had been acquired by a call to lock().

[娉細闄ockable鐨刴utex澶栵紝鍏朵綑鐨勫悇縐嶅鏉俶utex榪橀渶瑕佹洿澶氫唬鐮佸疄璺礭

Each mutex type implements one or more of these concepts, as do the various lock types.

Lock Types
boost瀹氫箟鐨凩ock types涓篶lass template錛屼互鍚堥傜殑Lockable object浣滀負妯℃澘鍙傛暟
lock_guard
RAII-style鐨勭畝鍗昹ock錛屽湪ctor涓璴ock錛屽湪dtor涓璾nlock
鍙敮鎸佺畝鍗曠殑Lockable object
unique_lock
姣?a id="h.-0" >lock_guard澶嶆潅鍦細涓嶄粎鎻愪緵RAII-style鐨刲ock錛岃繕鍏佽鐢ㄦ埛鎸囧畾鏄惁鍦╟tor涓珛鍗砽ock錛屾剰鍛崇潃鍙互鎸囧畾鎺ㄨ繜lock錛坉efer acquiring the lock錛岄氳繃鎸囧畾defer_lock_t鍙傛暟錛夛紝鐩村埌鏄懼紡璋冪敤鍏秎ock()鏂規硶
榪樻敮鎸?a id="d.41" class="link" title="TimedLockable Concept">TimedLockable concept錛屽墠鎻愭槸闇瑕乴ock鐨凩ockable object鏈韓鏀寔
The member functions of boost::unique_lock are not thread-safe...[娉細榪欏彞娌$湅鎳傘傘傘俔

shared_lock
upgrade_lock
upgrade_to_unique_lock

[娉細鐩墠鍙敤榪噓nique_lock銆傚悗闈㈠嚑縐嶅搴斾簬涓嶅悓闇姹傜殑lock錛屼粠鍚嶅瓧灝卞彲浠ョ洿瑙傜湅鍑哄姛鑳斤紝榪樻湭璇曢獙錛岀洿鎺ュ弬鑰僡pi]
Mutex Types
Mutex types瀵瑰簲浜庝箣鍓嶇殑mutex concepts錛岀洰鍓嶆湁錛?br id="pgra">
Class mutex
boost::mutex瀹炵幇浜?a id="lexp" class="link" title="Lockable Concept">Lockable concept錛屾彁渚沞xclusive-ownership mutex.
At most one thread can own the lock on a given instance of boost::mutex at any time.
Multiple concurrent calls to lock(), try_lock() and unlock() shall be permitted.

typedef unique_lock mutex::scoped_lock;

Typedef try_mutex
Class timed_mutex
Class recursive_mutex
Typedef recursive_try_mutex
Class recursive_timed_mutex
Class shared_mutex
閫傜敤浜庝笉鍚岄渶姹?br id="g0tp">

Condition Variables
The general usage pattern is that one thread locks a mutex and then calls wait on an instance of condition_variable or condition_variable_any. When the thread is woken from the wait, then it checks to see if the appropriate condition is now true, and continues if so. If the condition is not true, then the thread then calls wait again to resume waiting.(涓枃鍙傝?/a>)

lock is passed to wait()錛?wait() will atomically add the thread to the set of threads waiting on the condition variable, and unlock the mutex. When the thread is woken, the mutex will be locked again before the call to wait returns. This allows other threads to acquire the mutex in order to update the shared data, and ensures that the data associated with the condition is correctly synchronized.

In the mean time, another thread sets the condition to true, and then calls either notify_one() or notify_all() on the condition variable to wake one waiting thread or all the waiting threads respectively.


condition_variable_any姣攃ondition_variable鏇撮氱敤錛沜ondition_variable瑕佹眰浼犵粰wait()鐨勫繀欏繪槸boost::unique_lock<boost::mutex>綾誨瀷錛?/span>condition_variable涓鑸洿浼樺寲

One-time Initialization
浠呰繍琛屼竴嬈$殑渚嬬▼
http://www.stlchina.org/twiki/bin/view.pl/Main/BoostThread#5%20%BD%F6%D4%CB%D0%D0%D2%BB%B4%CE%B5%C4%C0%FD%B3%CC
[娉細榪樻湭浣跨敤榪嘳

Barriers
[娉細榪樻湭浣跨敤榪嘳





]]>
[boost.thread] Thread Local Storagehttp://m.shnenglu.com/frank28/archive/2008/04/29/48430.htmlfrank28_nflsfrank28_nflsTue, 29 Apr 2008 06:26:00 GMThttp://m.shnenglu.com/frank28/archive/2008/04/29/48430.htmlhttp://m.shnenglu.com/frank28/comments/48430.htmlhttp://m.shnenglu.com/frank28/archive/2008/04/29/48430.html#Feedback0http://m.shnenglu.com/frank28/comments/commentRss/48430.htmlhttp://m.shnenglu.com/frank28/services/trackbacks/48430.html綰跨▼灞閮ㄥ瓨鍌紙涓枃璇存槑錛?/a> (Another one )

鍏稿瀷鐨勫簲鐢ㄥ満鏅槸errno銆?br id="srgy">
Boost綰跨▼搴撴彁渚涗簡鏅鴻兘鎸囬拡boost::thread_specific_ptr鏉ヨ闂湰鍦板瓨鍌ㄧ嚎紼嬨傛槸璺ㄥ鉤鍙扮殑瑙e喅鏂規
http://www.boost.org/doc/libs/1_35_0/doc/html/thread/thread_local_storage.html

Portable thread-local storage with boost::thread_specific_ptr


Cleanup at thread exit


[娉細榪樻病鏈夊疄璺佃繃錛岀瓑鍐欒繃鐩稿簲浠g爜鍚庡啀鏉ヨˉ鍏呮枃妗





]]>
[boost.thread]Thread Managementhttp://m.shnenglu.com/frank28/archive/2008/04/29/48429.htmlfrank28_nflsfrank28_nflsTue, 29 Apr 2008 06:25:00 GMThttp://m.shnenglu.com/frank28/archive/2008/04/29/48429.htmlhttp://m.shnenglu.com/frank28/comments/48429.htmlhttp://m.shnenglu.com/frank28/archive/2008/04/29/48429.html#Feedback0http://m.shnenglu.com/frank28/comments/commentRss/48429.htmlhttp://m.shnenglu.com/frank28/services/trackbacks/48429.htmlhttp://www.boost.org/doc/libs/1_35_0/doc/html/thread/thread_management.html

launching threads
boost::thread綾諱唬琛ㄤ竴涓彲鎵ц鐨勭嚎紼?thread of execution)銆?br id="o-fc">A new thread is launched by passing an object of a callable type that can be invoked with no parameters to the constructor.
The object is then copied into internal storage, and invoked on the newly-created thread of execution.
If you wish to construct an instance of boost::thread with a function or callable object that requires arguments to be supplied, this can be done using boost::bind.
錛坱hread non-copiable, but movable; object that used to created a thread must callable, if not, use boost::ref錛?span id="fw.2">

Joining and detaching
褰撲唬琛ㄤ竴涓彲鎵ц鐨勭嚎紼?thread of execution)鐨刡oost::thread瀵硅薄琚攢姣佹椂錛岃繖涓嚎紼嬩究鍚屾椂琚?span id="ihma">detached. Detached鐨勭嚎紼嬪皢緇х畫榪愯鐩村埌綰跨▼緇堟銆?br id="w9kr"> 涔熷彲浠ユ樉寮忚皟鐢?explicitly)涓涓猙oost::thread瀵硅薄鐨刣etach()鏂規硶錛岃繖鏃惰繖涓嚎紼嬬洿鎺ヨdetach錛岃岃繖涓猙oost::thread瀵硅薄璁蹭笉鍐嶄唬琛╰hread of execution錛岃屾寚Not-a-Thread

join()鐢ㄤ簬絳夊緟涓涓嚎紼嬬粨鏉熴?br id="ea24">(timed_join())

Interruption
璋冪敤boost::thread瀵硅薄鐨?span id="fvio">interrupt()鏂規硶錛屽彲浠ヤ腑鏂叾瀵瑰簲鐨勭嚎紼嬨?br id="aa5i"> When the interrupted thread next executes one of the specified interruption points (or if it is currently blocked whilst executing one) with interruption enabled, then a boost::thread_interrupted exception will be thrown in the interrupted thread. If not caught, this will cause the execution of the interrupted thread to terminate. As with any other exception, the stack will be unwound, and destructors for objects of automatic storage duration will be executed.
(boost::this_thread::disable_interruption, Predefined Interruption Points)

Thread IDs
姣忎竴涓繍琛屼腑鐨則hread閮芥湁涓涓敮涓鐨刬d鍊箋?br id="neiu">
璋冪敤瀵瑰簲鐨?a id="b9db" class="link" title="Class thread">boost::thread瀵硅薄鐨?/code>get_id()鏂規硶錛屾垨鑰呭湪榪愯鐨則hread涓皟鐢?code id="tu3j" class="computeroutput">boost::this_thread::get_id()鏂規硶銆?br id="h8n3">
Namespace this_thread

this_thread涓嬪寘鍚殑鏄湪姝e湪榪愯鐨勭嚎紼嬪唴閮紝鎵鑳借繘琛岀殑綰跨▼鎿嶄綔錛屽寘鎷笂闈㈡彁鍒扮殑get_id()鏂規硶
http://www.boost.org/doc/libs/1_35_0/doc/html/thread/thread_management.html#thread.thread_management.this_thread

Thread Group
thread_group class provides for a collection of threads that are related in some fashion.
New threads can be added to the group with add_thread and create_thread member functions.
thread_group is not copyable or movable.




]]>
[Boost] Thread 絎旇http://m.shnenglu.com/frank28/archive/2008/04/29/boost_thread.htmlfrank28_nflsfrank28_nflsTue, 29 Apr 2008 06:12:00 GMThttp://m.shnenglu.com/frank28/archive/2008/04/29/boost_thread.htmlhttp://m.shnenglu.com/frank28/comments/48424.htmlhttp://m.shnenglu.com/frank28/archive/2008/04/29/boost_thread.html#Feedback0http://m.shnenglu.com/frank28/comments/commentRss/48424.htmlhttp://m.shnenglu.com/frank28/services/trackbacks/48424.html
鍘熸枃錛?a id="p-of" title="http://www-eleves-isia.cma.fr/documentation/BoostDoc/boost_1_29_0/libs/thread/doc/definitions.html" >http://www-eleves-isia.cma.fr/documentation/BoostDoc/boost_1_29_0/libs/thread/doc/definitions.html
backup錛歨ttp://docs.google.com/Doc?id=dgnd783p_138c62cd2gb
榪欐槸1.29.0鐗坆oost鏂囨。涓殑瀹氫箟錛屽弬鑰冧簡C++ standard錛屽茍緇撳悎boost浣滀簡瑙i噴錛屽緢瑙勮寖錛屼粙緇嶄簡浠ヤ笅鍩烘湰姒傚康錛?br id="n3p1">Thread銆乀hread-safe銆乀hread State銆丷ace Condition銆丏eadlock銆丼tarvation銆丳riority Failure銆丮emory Visibility
鏂扮増boost鏂囨。涓凡緇忔病鏈夎繖涓绔犱簡



鍙傝冿細

  1. http://www.cs.cf.ac.uk/Dave/C/node32.html
    涓涓猚/pthread鐨則hread鏁欑▼錛屾湁涓浜涘吀鍨嬩緥瀛愮殑浠g爜銆佺畻娉曡鏄?
  2. http://www.stlchina.org/twiki/bin/view.pl/Main/BoostThread#C++%20Boost%20Thread%20%B1%E0%B3%CC%D6%B8%C4%CF
    C++ Boost Thread 緙栫▼鎸囧崡錛堜腑鏂囩増錛?br id="uhdt">http://www.ddj.com/cpp/184401518
    鑻辨枃鍘熺増
    WARNING錛歄ut-of-Date錛?002騫寸殑錛? 鍙兘鍙傝冪敤
  3. http://aszt.inf.elte.hu/~gsd/klagenfurt/material/ch03s06.html
    鑻辨枃鐨勪竴綃嘼oost.thread璇存槑錛岄噷闈㈡湁boost::thread鐨勭畝鍗曚緥瀛愶紝鍏朵腑涓涓嬌鐢ㄤ簡condition
    WARNING錛歄ut-of-Date! 鍙兘鍙傝冪敤

Code錛?br id="l44p">






]]>
璇曡瘯鐪嬪崥瀹㈠洯鐨刡log~http://m.shnenglu.com/frank28/archive/2008/04/24/48018.htmlfrank28_nflsfrank28_nflsThu, 24 Apr 2008 07:55:00 GMThttp://m.shnenglu.com/frank28/archive/2008/04/24/48018.htmlhttp://m.shnenglu.com/frank28/comments/48018.htmlhttp://m.shnenglu.com/frank28/archive/2008/04/24/48018.html#Feedback1http://m.shnenglu.com/frank28/comments/commentRss/48018.htmlhttp://m.shnenglu.com/frank28/services/trackbacks/48018.html鎶婃柊blog鏋跺湪csdn涓?/a>鐨?br>

鐒惰宑sdn涓嶈鍏ㄦ枃杈撳嚭rss榪欎竴鐐瑰氨瓚寵凍鎶婃垜閫艱蛋

鐜板湪寮濮嬭瘯璇曠湅榪欓噷錛屾劅瑙夎繖閲岃兘婊¤凍鎴戝ぇ閮ㄥ垎瑕佹眰錛屼絾鎰胯繖嬈″氨鑳藉交搴曞畾涓嬫潵浜嗐傘傘?br>


]]>
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
            99精品99| 亚洲乱码国产乱码精品精98午夜| 亚洲综合好骚| 日韩视频在线观看国产| 亚洲精品国产拍免费91在线| 裸体歌舞表演一区二区| 免费日韩av片| 亚洲丶国产丶欧美一区二区三区| 欧美激情区在线播放| 欧美激情导航| 日韩视频不卡| 性欧美videos另类喷潮| 欧美在线影院| 欧美风情在线| 国产精品视频第一区| 黄色欧美成人| 亚洲免费大片| 久久久国产成人精品| 欧美sm视频| 99热在这里有精品免费| 香蕉成人啪国产精品视频综合网| 久久人人爽人人| 欧美先锋影音| 亚洲经典视频在线观看| 午夜免费在线观看精品视频| 久久男女视频| 99国产精品久久久久久久成人热 | 欧美日本精品| 国产视频观看一区| 日韩亚洲欧美高清| 久久免费国产| 亚洲伊人色欲综合网| 麻豆91精品91久久久的内涵| 国产精品影音先锋| 一区二区三区久久网| 嫩草国产精品入口| 亚洲欧美成人网| 欧美精品日本| 亚洲国产导航| 老鸭窝亚洲一区二区三区| 欧美激情一区在线| 亚洲欧洲在线观看| 先锋影音网一区二区| 欧美成人精品不卡视频在线观看| 国产欧美精品| 亚洲影视综合| 91久久精品美女| 欧美sm重口味系列视频在线观看| 国产夜色精品一区二区av| 中文久久精品| 日韩视频一区二区在线观看 | 欧美精品一区二区三区蜜臀 | 国产精品入口夜色视频大尺度| 亚洲国产欧美精品| 巨乳诱惑日韩免费av| 亚洲欧美区自拍先锋| 欧美日韩免费在线观看| 亚洲精品影院在线观看| 欧美国产大片| 欧美a级大片| 亚洲精品美女在线| 欧美激情精品久久久久久黑人| 久久精品视频在线观看| 韩国免费一区| 欧美1区2区视频| 久久综合福利| 亚洲国产精品传媒在线观看| 农村妇女精品| 欧美大成色www永久网站婷| 亚洲欧洲日本国产| 亚洲乱码国产乱码精品精可以看 | 一本色道久久99精品综合| 欧美日韩免费观看中文| 亚洲免费影院| 久久www成人_看片免费不卡| 黄色综合网站| 亚洲激情在线激情| 欧美日韩三级视频| 欧美一级网站| 久久人体大胆视频| 一区二区三区高清视频在线观看| 一区二区日韩免费看| 国产欧美一区二区三区另类精品 | 亚洲欧美日韩精品久久奇米色影视| 国产精品天天看| 免费日韩精品中文字幕视频在线| 欧美成人一区二区三区片免费| 99国产精品99久久久久久粉嫩| 亚洲精品日韩在线| 国产精品日韩久久久久| 久久久久久亚洲综合影院红桃| 久久久亚洲国产天美传媒修理工| 日韩视频第一页| 亚洲直播在线一区| 欧美日韩成人在线播放| 久久精品国产99国产精品| 国产精品美女xx| 女女同性精品视频| 国产精品久久久久久影视| 免费黄网站欧美| 国产精品久在线观看| 免费人成网站在线观看欧美高清 | 欧美精品电影在线| 午夜精品视频在线观看| 另类图片国产| 欧美一区二区精品在线| 麻豆亚洲精品| 久久久久国色av免费观看性色| 欧美福利在线| 美日韩在线观看| 国产欧美日本一区视频| 亚洲剧情一区二区| 亚洲国产裸拍裸体视频在线观看乱了中文 | 久久综合影音| 久久不射网站| 欧美四级在线| 亚洲电影网站| 亚洲国产精品久久久久婷婷老年 | 伊人精品成人久久综合软件| 一区二区三区高清不卡| 亚洲国产综合91精品麻豆| 午夜精品免费视频| 亚洲欧美日韩国产一区| 欧美精品网站| 亚洲激情婷婷| 亚洲国产专区校园欧美| 久久视频在线视频| 久久久久久噜噜噜久久久精品 | 久久人91精品久久久久久不卡| 午夜精品视频在线观看| 欧美日韩亚洲一区二区三区在线| 欧美福利电影网| 在线看片日韩| 久久中文欧美| 欧美成人自拍视频| 在线精品国精品国产尤物884a| 香蕉免费一区二区三区在线观看| 亚洲欧美一区二区激情| 欧美性事免费在线观看| av成人天堂| 亚洲欧美日韩精品久久久| 国产精品激情| 欧美亚洲午夜视频在线观看| 欧美日韩国产色综合一二三四 | 美女视频黄免费的久久| 美女被久久久| 亚洲激情成人网| 欧美激情影音先锋| 亚洲精品欧洲精品| 一区二区冒白浆视频| 欧美片第一页| 亚洲视频一区| 久久精品官网| 亚洲成人在线观看视频| 欧美gay视频| 亚洲免费av网站| 欧美在线黄色| 在线免费一区三区| 欧美激情精品| 亚洲一二三级电影| 久久人人97超碰人人澡爱香蕉| 亚洲高清不卡在线| 欧美日韩亚洲一区二区三区在线观看 | 国产日韩精品一区二区| 欧美专区在线| 亚洲国产精品久久人人爱蜜臀 | 在线观看视频一区二区| 蜜臀99久久精品久久久久久软件| 亚洲激情一区二区| 欧美伊人久久久久久久久影院| 精品99一区二区三区| 欧美成人免费视频| 亚洲欧美日韩网| 亚洲国产精品一区制服丝袜| 午夜日韩在线观看| 最新中文字幕亚洲| 国产精品人成在线观看免费| 久久久噜噜噜| 宅男在线国产精品| 美女精品在线观看| 亚洲综合色在线| 亚洲精品久久久久久久久| 国产欧美三级| 欧美日韩一区二区精品| 久久久另类综合| 午夜视频久久久| 日韩一本二本av| 欧美mv日韩mv国产网站| 久久国产黑丝| 亚洲午夜国产成人av电影男同| 亚洲第一天堂av| 国产午夜精品视频| 国产精品久久久久久久7电影| 久久综合999| 久久国产视频网站| 亚洲在线日韩| 在线视频中文亚洲| 99www免费人成精品| 亚洲国产婷婷香蕉久久久久久| 久久中文字幕导航|