What is the Volatile Keyword in Java: A Simplified Guide
Java වල multi-threaded programming, එනම් එකම වෙලාවේදී වැඩසටහනේ කොටස් කිහිපයක් (threads) ක්රියාත්මක කිරීමේදී, volatile යනුවෙන් හැඳින්වෙන keyword එක ඉතා වැදගත් වේ. මෙහි මූලිකම කාර්යය වන්නේ threads කිහිපයක් අතර හුවමාරු වන විචල්යයක (variable) අගය, සෑම ...
csos.hashnode.dev3 min read