Search found 1 match

by asamson
Tue Feb 13, 2018 6:46 am
Forum: ESP-IDF
Topic: Are reads/writes to floating point variables atomic?
Replies: 1
Views: 3607

Are reads/writes to floating point variables atomic?

Hi,

My application has two tasks. The first one updates a floating point variable and the other reads this variable. Do I need to protect access to this variable using a mutex or are read/write accesses atomic in this case?