开发者

When and why would I use Java synchronization? [duplicate]

This question already has answers here: 开发者_如何学JAVA Closed 10 years ago.

Possible Duplicate:

What does 'synchronized' mean?

What is the purpose of Java synchronization, and how should I use it?


Java Tutorial: Synchronization. A generic answer to your generic question. Don't like it? Please elaborate a little. Cheers.


If you mean how to implement synchronization (as in Java), it is language dependent. Generally it can implemented using the OS level locks (as in semaphores, mutex etc)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜