<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Evan's Blog

    Java, software development and others.

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      28 隨筆 :: 0 文章 :: 73 評論 :: 0 Trackbacks
    J2SE 5.0在多線程上做了很大的改進,提供了更多的API,包括:
    Atomic variables: A set of classes that provide threadsafe operations without synchronization
    Explicit locks: Synchronization locks that can be acquired and released programmatically
    Condition variables: Variables that can be the subject of a targeted notification when certain conditions exist
    Queues: Collection classes that are thread-aware Synchronization primitives: New classes that perform complex types of synchronization
    Thread pools: Classes that can manage a pool of threads to run certain tasks
    Thread schedulers: Classes that can execute tasks at a particular point in time

    在《Java Threads》一書中將其歸納為三類:
    1. 對現有功能的新實現;
    2. 提供了重要的多線程工具,如線程池(pool)和計劃(schedule);
    3. 最小化同步工具(Minimal synchronization utilities)。

    這些功能的妙處我現在自然是無法體會得到,但對于JDK 5.0中提供的這些多線程工具,會不會也遭遇JDK 1.4提供的Log API的命運,因敵不過第三方工具而成為擺設呢(至少目前我還在用Log4J,且其也沒有停止開發的跡象)?
    posted on 2006-03-05 23:25 Evan 閱讀(430) 評論(0)  編輯  收藏 所屬分類: Java筆記
    主站蜘蛛池模板: 亚洲看片无码在线视频| 亚洲色偷偷偷鲁综合| 免费夜色污私人影院在线观看| 免费A级毛片无码A∨男男| 亚洲乱码中文字幕综合234 | 性xxxxx大片免费视频| 3d成人免费动漫在线观看| 野花高清在线观看免费3中文 | 亚洲国产熟亚洲女视频| 日韩色视频一区二区三区亚洲| 免费一级全黄少妇性色生活片 | 老司机69精品成免费视频| 精品无码免费专区毛片| 成人免费在线观看网站| 亚洲综合另类小说色区色噜噜| 亚洲精品高清无码视频| 亚洲国产高清视频在线观看| 亚洲国产欧美一区二区三区| 国产精品美女免费视频观看| 女人张开腿给人桶免费视频| 免费99热在线观看| 亚洲另类激情综合偷自拍| 亚洲另类无码专区丝袜| 久青草国产免费观看| 久久久久久久久无码精品亚洲日韩| 一级一看免费完整版毛片| 久久这里只精品99re免费| 免费无码又黄又爽又刺激| 亚洲国产精品成人网址天堂| 亚洲视频一区调教| 亚洲a无码综合a国产av中文| 久久久久久久岛国免费播放 | 亚洲AV无码精品国产成人| 两个人看的www免费| 毛片免费视频播放| 亚洲精品中文字幕乱码三区| 涩涩色中文综合亚洲| 91成人免费观看在线观看| 啦啦啦手机完整免费高清观看 | 亚洲国产精品13p| 亚洲精品伊人久久久久|