View Single Post
  #8   Spotlight this post!  
Unread 12-02-2015, 21:25
PaulDavis1968's Avatar
PaulDavis1968 PaulDavis1968 is offline
Embedded Software/Systems Engineer
AKA: Master of Complexity
FRC #2053 (TigerTronics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Endicot NY
Posts: 91
PaulDavis1968 is just really nicePaulDavis1968 is just really nicePaulDavis1968 is just really nicePaulDavis1968 is just really nicePaulDavis1968 is just really nice
Re: Multithreading and locking?

Quote:
Originally Posted by pensono View Post
As long as you only have one writer thread, you won't run into any problems.
Very true. Arguing this very thing at work at the moment. Any context switch were writing can only occur in one of the context events then you do not need to lock it to protect it from the reader/writer problem.
Reply With Quote