VMware question - 海外工作

By Jack
at 2007-12-31T06:04
at 2007-12-31T06:04
Table of Contents
板上神人大大們可能覺得太小兒科,半路出家的小弟斗膽一猜(抖~~)
因為要high concurrency所以要lock specific node, 不能lock整個list或tree
最簡單的方式就是在node class加上lock()跟unlock()
用java的話java 1.5有已經寫好的package
java.util.concurrent
題目一的答案可以看看java.util.concurrent.ConcurrentLinkedQueue或
synchronousQueue的實作
這個情況在實務上其實很常遇到,我們公司的產品還在1.4.2所以我自己寫了一個
類似的....╮(﹋﹏﹌)╭..
※ 引述《[email protected] (Go cubs!)》之銘言:
: ※ 引述《LINC (Go cubs!)》之銘言:
: : 1. How to lock a linked-list?
: : 2. How to lock a binary tree?
: : These questions may require the highest level of concurrency.
: Nobody wants to play with these questions?
--
因為要high concurrency所以要lock specific node, 不能lock整個list或tree
最簡單的方式就是在node class加上lock()跟unlock()
用java的話java 1.5有已經寫好的package
java.util.concurrent
題目一的答案可以看看java.util.concurrent.ConcurrentLinkedQueue或
synchronousQueue的實作
這個情況在實務上其實很常遇到,我們公司的產品還在1.4.2所以我自己寫了一個
類似的....╮(﹋﹏﹌)╭..
※ 引述《[email protected] (Go cubs!)》之銘言:
: ※ 引述《LINC (Go cubs!)》之銘言:
: : 1. How to lock a linked-list?
: : 2. How to lock a binary tree?
: : These questions may require the highest level of concurrency.
: Nobody wants to play with these questions?
--
Tags:
海外工作
All Comments
Related Posts
A Talent Contest We're Losing

By Elizabeth
at 2007-12-29T14:24
at 2007-12-29T14:24
EE 半導體 電路設計相關工作 詢問

By Ivy
at 2007-12-29T13:32
at 2007-12-29T13:32
我妹要去英國當保姆

By Hardy
at 2007-12-27T20:09
at 2007-12-27T20:09
我妹要去英國當保姆

By Zenobia
at 2007-12-27T18:19
at 2007-12-27T18:19
Self-employed可以辦H-1工作簽證嗎?

By Hazel
at 2007-12-26T15:34
at 2007-12-26T15:34