[心得] 需要用Multithread的朋友請內入Doug Lea's Concurrency util

看板java作者 (別打了, 真不忍心 W19)時間19年前 (2006/09/28 23:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Doug Lea 是JSR166 (JDK1.5 java.util.concurrent and jsr166x)的制定者之一 他的util.concurrent 有許多實用的 concurrent programming 工具, 如: Sync -- locks, conditions Channel -- queues, buffers Barrier -- multi-party synchronization SynchronizedVariable -- atomic ints, refs etc java.util.Collection -- collections Executor -- replacements for direct use of Thread 而且各有多種 Implementation 如果能瞭解這些程式碼, 相信Concurrency Programming會有一定功力 即使是只拿來用也是妙用無窮, 至少會比我自己寫的安全吧 http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html -- And I don't think that I'll see her again, But we shared a moment that will last till the end. You're beautiful. You're beautiful. You're beautiful, it's true. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.229.161.162
文章代碼(AID): #156-GLc6 (java)
文章代碼(AID): #156-GLc6 (java)