作者TonyQ (骨头)
看板java
标题Re: 关於synchronized
时间Thu Apr 27 17:30:28 2006
※ 引述《moigai (我就是没内容Orz)》之铭言:
: 我不太懂他的意思
: 就都是宣告在function前面
: 到底加了会有怎样的对应呢
: 希望知道的人可以说一下
: 谢谢
加了就是这个function ,
同时间只能被一个Thread所呼叫。:)
其他要叫它的都要排队.
--
String temp="relax"; | Life just like programing
while(buringlife) String.forgot(temp); | to be right or wrong
while(sleeping) brain.setMemoryOut(); | need not to say
stack.push(life.running); | the complier will
stack.push(scouting.buck()); | answer your life
stack.push(bowling.pratice()); | Bone
everything
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.138.240.58