|
|
|
|
|
by smat
1469 days ago
|
|
Not sure what this empirical analysis adds to answer the initial question. Sure, modern computers are fast and modern operating systems are designed to reduce latency. At the same time the “best practices” of not using mutexes and malloc on real-time threads are there for a reason: They potentially trigger a system call, which will add quite some latency (as the measurements show). Because real-time is all about deterministic latency, this is undesired. |
|
Why would you discourage someone from doing this? You thinking you already knew the answer doesn't help the OP at all.