Hi, I've read that you can perform Atomic instructions like AtomicReadLInt on variables. However, I'd like to know if this uses stdatomic internally.
My main question is : Is it possible to share atomic types in shared memory with CodeSys. If so, what types should they be declared as? If not, are the atomic functions lock-free or does it use a mutex?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I've read that you can perform Atomic instructions like
AtomicReadLInt
on variables. However, I'd like to know if this uses stdatomic internally.My main question is : Is it possible to share atomic types in shared memory with CodeSys. If so, what types should they be declared as? If not, are the atomic functions lock-free or does it use a mutex?