w*z
4 楼
c++ 早忘了,JAVA 的话,这本书比较经典:
Java Concurrency in Practice
by Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes,
Doug Lea
http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/
【在 w****f 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: agree. 已经花了4。5个小时学multithread, 好像明白了。可仔细想想,还是不太
: 懂。。。 :(
: “interview时瞎扯可以” ok,which book/webpage do you recommend? 看了能
: 达到这种程度。
Java Concurrency in Practice
by Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes,
Doug Lea
http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/
【在 w****f 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: agree. 已经花了4。5个小时学multithread, 好像明白了。可仔细想想,还是不太
: 懂。。。 :(
: “interview时瞎扯可以” ok,which book/webpage do you recommend? 看了能
: 达到这种程度。
w*f
5 楼
看起来不错,可不是几个小时的reading。
现在目标改为,清楚概念,面试是可以瞎扯几分钟。。。
【在 w**z 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: c++ 早忘了,JAVA 的话,这本书比较经典:
: Java Concurrency in Practice
: by Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes,
: Doug Lea
: http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/
现在目标改为,清楚概念,面试是可以瞎扯几分钟。。。
【在 w**z 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: c++ 早忘了,JAVA 的话,这本书比较经典:
: Java Concurrency in Practice
: by Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes,
: Doug Lea
: http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/
v*a
6 楼
1. Learn consumer/producer model, thread pool concept using google
2. Learn synchronization techniques in Java or C++ using google.
3. Build a multithread server by yourself. Google Java multithread server
online and read the code. Test it on your own pc and make sure you can
explain it step by step.
All the three steps can be done in an afternoon. If you still have time,
look for some interview questions about read/write locks, scalability, and
more.
2. Learn synchronization techniques in Java or C++ using google.
3. Build a multithread server by yourself. Google Java multithread server
online and read the code. Test it on your own pc and make sure you can
explain it step by step.
All the three steps can be done in an afternoon. If you still have time,
look for some interview questions about read/write locks, scalability, and
more.
d*o
7 楼
http://docs.oracle.com/javase/tutorial/essential/concurrency/in
这个tuturial不错,看一遍就懂了。
【在 w****f 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 看起来不错,可不是几个小时的reading。
: 现在目标改为,清楚概念,面试是可以瞎扯几分钟。。。
这个tuturial不错,看一遍就懂了。
【在 w****f 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 看起来不错,可不是几个小时的reading。
: 现在目标改为,清楚概念,面试是可以瞎扯几分钟。。。
w*f
9 楼
多谢推荐。
N*p
12 楼
必须合上书 自己写几个常见程序才能懂
很多意想不到的小细节 错一个细节 就全错了
很多意想不到的小细节 错一个细节 就全错了
w*f
13 楼
PIE chapter 8 bank example:
public boolean deposit( double amount){
...
newBalance = userBalance + amount;
userBalance = newBalance;
...
有些困惑(maybe naive)
why not
userBalance +=amount;
对thread 安全有影响吗?
public boolean deposit( double amount){
...
newBalance = userBalance + amount;
userBalance = newBalance;
...
有些困惑(maybe naive)
why not
userBalance +=amount;
对thread 安全有影响吗?
相关阅读
Uber司机都得随身配枪吧L家的高频题merge k sorted arrays giving iterators求讨论!是不是只有华人喜欢bash烙印只会ppt?expedia 赞助eb-1b绿卡不? (转载)换工作疑问这种情况,还能讨价还价吗?生物女请教Epic电面经验请教一个面试题微软REDMOND招SUMMER INTERN,Developer方向大家如何搜Jobhunting版的offer贴的?能挂靠H1B吗,找ICC先申请占个坑怎么拖延答复offer啊Startup 真是熬人求内推,生物制药公司刷多了,思维太定式怎么破?药厂biostat和 保险公司 data scientist 求建议阿里巴巴招聘实习生(西雅图和硅谷)Google里面的analyst是不是背景都很强再问下OPT申正在H1B,如果在4月1号之前去加拿大可以吗纽约小公司dataminr面经 + 求帮忙分析offer