4 ms·
No, RAII is great on embedded systems with static resource allocation. Grabbing realtime priority or disabling interrupts with a lock_guard so you can't forget
by monocasa 9y ago
No, RAII is great on embedded systems with static resource allocation.
Grabbing realtime priority or disabling interrupts with a lock_guard so you can't forget to release is a god send.
- taneq 9y agoTrue, there are a few cases where it's useful, and it's great for those.