Questions tagged as 'volatile'

2
answers

What is the C / C ++ volatile operator?

I've seen some code in C / C ++ statements like this: volatile int i = 0; I would like to know what the volatile operator is and in what cases I should use it.     
asked by 22.03.2014 / 15:16
1
answer

Is there a race condition problem in my code?

Is there a problem in race condition in the code below? Private Shared Sub TestRandomNumberGeneration(ByVal random As Random) Dim failed As Boolean = False Parallel.For(0, 100000, Sub(i, state) Dim [next] As Integer = random....
asked by 21.04.2014 / 23:07
2
answers

What is the C / C ++ volatile operator?

I've seen some code in C / C ++ statements like this: volatile int i = 0; I would like to know what the volatile operator is and in what cases I should use it.     
asked by 22.03.2014 / 15:16