Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Java
volatile veriable
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
helpamit
New Member
Join Date:
Mar 2007
Posts:
5
#1
volatile veriable
Mar 27 '07, 01:43 PM
what is volatile veriable?
when it use?
r035198x
MVP
Join Date:
Sep 2006
Posts:
13225
#2
Mar 27 '07, 01:59 PM
Originally posted by
helpamit
what is volatile veriable?
when it use?
Get a tutorial and read about it.
Comment
Post
Cancel
stroken
New Member
Join Date:
Mar 2007
Posts:
24
#3
Mar 27 '07, 02:06 PM
The
volatile
-keyword is used on variables that may be modified simultaneously by other threads, (or communication).
This force the compiler to fetch them fresh each time, instead of caching them in registers, or remove it in the optimizing-phase.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment