KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
volatile
47 questions
Follow Tag
Sort by:
Newest
Votes
Active
13
votes
3
answers
Example of C++ "Memory barrier"
c++
multithreading
volatile
memory-barriers
asked 2013-07-27T13:07:19.667
11
votes
1
answers
loss of const volatile qualifiers
c++
templates
volatile
asked 2013-07-19T14:46:50.517
28
votes
2
answers
Why am I not provided with a default copy constructor from a volatile?
c++
copy-constructor
volatile
asked 2013-06-20T15:09:02.420
10
votes
2
answers
Why Double checked locking is 25% faster in Joshua Bloch Effective Java Example
java
multithreading
volatile
asked 2013-06-18T08:48:29.197
36
votes
5
answers
AtomicInteger and volatile
java
multithreading
thread-safety
atomic
volatile
asked 2013-01-15T13:12:21.230
15
votes
3
answers
How to safely convert/copy volatile variable?
c
volatile
asked 2012-11-29T12:42:07.477
10
votes
1
answers
Why is "volatileQualifiedExpr + volatileQualifiedExpr" not necessarily UB in C but in C++?
c++
c
volatile
side-effects
asked 2012-10-14T10:17:29.643
18
votes
3
answers
Why doesn't C# volatile protect write-read reordering?
c#
.net
multithreading
volatile
asked 2012-07-31T18:56:00.700
47
votes
5
answers
What is the point of making the singleton instance volatile while using double lock?
java
singleton
volatile
thread-synchronization
double-checked-locking
asked 2012-07-24T21:40:31.500
24
votes
2
answers
Should a lock variable be declared volatile?
c#
.net
multithreading
locking
volatile
asked 2012-07-17T12:58:44.327
12
votes
6
answers
Volatile in java
java
concurrency
volatile
asked 2012-06-04T21:00:47.383
8
votes
4
answers
Volatile Member Functions (C++)
c++
multithreading
volatile
asked 2012-05-01T13:45:39.390
12
votes
1
answers
How to comprehend "The variable does not participate in invariants with other state variables when using volatile keyword"?
java
concurrency
volatile
asked 2012-03-26T08:04:27.203
53
votes
5
answers
why using volatile with synchronized block?
java
multithreading
volatile
synchronized
double-checked-locking
asked 2012-03-12T10:35:39.823
9
votes
2
answers
synchronized counter in clojure
multithreading
clojure
volatile
asked 2011-09-18T12:47:44.993
17
votes
4
answers
In Java, is it safe to change a reference to a HashMap read concurrently
java
multithreading
concurrency
volatile
asked 2011-08-25T07:51:17.860
13
votes
5
answers
Are volatile reads and writes atomic on Windows+VisualC?
c++
visual-c++
atomic
volatile
memory-fences
asked 2011-08-10T07:42:51.067
36
votes
6
answers
Is volatile bool for thread control considered wrong?
c++
multithreading
multicore
volatile
asked 2011-08-09T11:17:52.347
53
votes
7
answers
Are mutex lock functions sufficient without volatile?
c++
multithreading
mutex
volatile
memory-barriers
asked 2011-07-26T23:10:07.410
24
votes
9
answers
Volatile and multithreading: is the following thread-safe?
c++
multithreading
volatile
asked 2011-07-06T06:17:11.160
16
votes
6
answers
The code example which can prove "volatile" declare should be used
java
multithreading
concurrency
volatile
asked 2011-04-28T09:56:48.730
19
votes
4
answers
How can assigning a variable result in a serious performance drop while the execution order is (nearly) untouched?
java
multithreading
performance
jvm
volatile
asked 2011-04-12T17:08:16.640
32
votes
4
answers
How do I track down the cause of a StackOverflowException in .NET?
c#
.net
winforms
volatile
stack-overflow
asked 2011-02-02T21:03:36.487
132
votes
4
answers
Is volatile expensive?
java
memory-management
concurrency
volatile
asked 2011-01-08T12:34:26.940
32
votes
5
answers
Using volatile keyword with mutable object
java
concurrency
volatile
mutable
asked 2011-01-06T11:19:52.740
20
votes
1
answers
Performance consequence of volatile member functions
c++
multithreading
volatile
asked 2010-12-13T11:54:27.970
313
votes
4
answers
Difference between volatile and synchronized in Java
java
multithreading
java-me
synchronized
volatile
asked 2010-08-19T07:34:44.607
12
votes
5
answers
volatile variables as argument to function
c
pointers
arguments
warnings
volatile
asked 2010-07-21T20:44:14.503
25
votes
5
answers
Is `volatile` required for shared memory accessed via access function?
c++
c
embedded
volatile
asked 2010-06-30T10:27:10.930
10
votes
2
answers
How does volatile actually work?
java
concurrency
volatile
asked 2010-04-22T20:58:44.370
22
votes
2
answers
Why is 'volatile' parasitic in C++?
c++
volatile
asked 2010-03-19T14:47:52.813
29
votes
2
answers
What is the purpose of a volatile member function in C++?
c++
volatile
asked 2010-03-15T02:24:13.967
93
votes
6
answers
volatile vs. mutable in C++
c++
volatile
mutable
asked 2010-03-15T02:11:40.610
288
votes
9
answers
Volatile vs Static in Java
java
multithreading
concurrency
static
volatile
asked 2010-03-11T09:01:24.570
38
votes
4
answers
How to declare array elements volatile in Java?
java
arrays
concurrency
volatile
asked 2010-02-10T10:53:33.537
10
votes
3
answers
.NET memory model, volatile variables, and test-and-set: what is guaranteed?
.net
synchronization
volatile
memory-fences
test-and-set
asked 2010-01-20T07:34:12.237
19
votes
4
answers
C# volatile array items?
c#
.net
multithreading
arrays
volatile
asked 2009-12-05T16:47:24.427
10
votes
5
answers
does presence of mutex help getting rid of volatile key word ?
c++
multithreading
mutex
volatile
asked 2009-10-23T21:48:10.190
27
votes
6
answers
Does Interlocked.CompareExchange use a memory barrier?
c#
multithreading
optimization
volatile
memory-model
asked 2009-10-17T08:15:28.547
15
votes
3
answers
Volatile equivalent in VB.NET
c#
vb.net
multithreading
volatile
asked 2009-07-08T01:04:49.480
46
votes
5
answers
Are volatile variable 'reads' as fast as normal reads?
java
performance
multithreading
volatile
asked 2009-07-07T04:08:10.747
19
votes
4
answers
why can't a local variable be volatile in C#?
c#
multithreading
volatile
asked 2009-06-23T12:07:26.487
10
votes
4
answers
Java seems to support volatile fields of type long, while C# does not - What are the reasons behind this?
c#
java
multithreading
volatile
asked 2009-06-08T21:27:52.080
11
votes
6
answers
when should a member function be both const and volatile together?
c++
constants
volatile
asked 2009-03-17T16:36:33.163
28
votes
7
answers
What is the difference between a static global and a static volatile variable?
c
static
global
interrupt
volatile
asked 2008-12-06T14:14:09.577
790
votes
10
answers
Volatile vs. Interlocked vs. lock
c#
multithreading
locking
volatile
interlocked
asked 2008-09-30T19:25:06.760
295
votes
19
answers
Why does volatile exist?
c++
volatile
c++-faq
asked 2008-09-16T13:59:45.667