Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: thread safety using Interlocked Pin
George_George19-May-08 2:29
George_George19-May-08 2:29 
AnswerRe: thread safety using Interlocked Pin
N a v a n e e t h16-May-08 2:41
N a v a n e e t h16-May-08 2:41 
GeneralRe: thread safety using Interlocked Pin
George_George16-May-08 3:04
George_George16-May-08 3:04 
GeneralRe: thread safety using Interlocked Pin
N a v a n e e t h16-May-08 4:25
N a v a n e e t h16-May-08 4:25 
GeneralRe: thread safety using Interlocked Pin
George_George16-May-08 4:44
George_George16-May-08 4:44 
GeneralRe: thread safety using Interlocked Pin
Guffa16-May-08 6:22
Guffa16-May-08 6:22 
GeneralRe: thread safety using Interlocked Pin
George_George16-May-08 20:14
George_George16-May-08 20:14 
GeneralRe: thread safety using Interlocked Pin
Guffa17-May-08 9:22
Guffa17-May-08 9:22 
George_George wrote:
Your sample about write assignment does not relates to volatile, right? I mean volatile will keep assignment of Status from optimization?


Right.

George_George wrote:
So, volatile only works for read, not for write?


It works for both. Normally writes are just not optimised away at all (for member variables), so it's mostly the reads that are critical.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: thread safety using Interlocked Pin
George_George17-May-08 21:21
George_George17-May-08 21:21 
GeneralRe: thread safety using Interlocked Pin
Guffa18-May-08 12:54
Guffa18-May-08 12:54 
GeneralRe: thread safety using Interlocked Pin
George_George19-May-08 2:30
George_George19-May-08 2:30 
Questionhow access to a fild in a record in data grid ? [modified] Pin
bizhanmp15-May-08 22:42
bizhanmp15-May-08 22:42 
AnswerRe: how access to a fild in a record in data grid ? Pin
Sacha Barber16-May-08 1:02
Sacha Barber16-May-08 1:02 
GeneralPowerShell Query Pin
Kevin McFarlane15-May-08 22:24
Kevin McFarlane15-May-08 22:24 
GeneralRe: PowerShell Query Pin
ChrisKo16-May-08 7:36
ChrisKo16-May-08 7:36 
GeneralRe: PowerShell Query Pin
Kevin McFarlane16-May-08 8:13
Kevin McFarlane16-May-08 8:13 
QuestionControl for handling a lot of Images Pin
anderslundsgard15-May-08 22:09
anderslundsgard15-May-08 22:09 
AnswerRe: Control for handling a lot of Images Pin
Christian Graus15-May-08 22:58
protectorChristian Graus15-May-08 22:58 
GeneralRe: Control for handling a lot of Images Pin
anderslundsgard15-May-08 23:44
anderslundsgard15-May-08 23:44 
QuestionFileStream object and performance concern Pin
rcollina15-May-08 21:30
rcollina15-May-08 21:30 
AnswerRe: FileStream object and performance concern Pin
ChrisKo16-May-08 7:35
ChrisKo16-May-08 7:35 
AnswerRe: FileStream object and performance concern Pin
The Nightcoder16-May-08 11:49
The Nightcoder16-May-08 11:49 
AnswerRe: FileStream object and performance concern Pin
rcollina16-May-08 21:37
rcollina16-May-08 21:37 
Questionhow can i make an appointment schedulling in c# Pin
mjee15-May-08 20:53
mjee15-May-08 20:53 
QuestionRe: how can i make an appointment schedulling in c# Pin
sunspeed15-May-08 20:55
sunspeed15-May-08 20:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.