Lock in initialize?

28 Aug
2013
28 Aug
'13
2:40 p.m.
Hi, quick question: Is it a good idea to use xpcc::atomic::Lock lock; at the beginning of each and every Peripheral::initialize() method? Since initialize is mostly called during setup, execution time is not so important, and it reduces unwanted behaviour. What do you think? Niklas
4259
Age (days ago)
4259
Last active (days ago)
0 comments
1 participants
participants (1)
-
Niklas Hauser