Re: thread shows wrong results for calculation
- From: Richard Kettlewell <rjk@xxxxxxxxxxxxxxx>
- Date: Sat, 04 Dec 2010 21:52:48 +0000
John <johngrn19@xxxxxxxxx> writes:
Do I really need synchronization?
Yes.
I am not changing the values in the struct. I am only reading them.
Presumably you are changing them in some other thread.
--
http://www.greenend.org.uk/rjk/
.
- Follow-Ups:
- References:
- thread shows wrong results for calculation
- From: John
- Re: thread shows wrong results for calculation
- From: Richard Kettlewell
- Re: thread shows wrong results for calculation
- From: John
- thread shows wrong results for calculation
- Prev by Date: Re: thread shows wrong results for calculation
- Next by Date: Re: thread shows wrong results for calculation
- Previous by thread: Re: thread shows wrong results for calculation
- Next by thread: Re: thread shows wrong results for calculation
- Index(es):