Mutex for task scheduler.

fat16lib:
Now Arduino is doing the same drill.

Why?

Seriously, you have to ask? Really?
Just take a look at what so many of the younger generation use as their "model" of an "os"
or s/w development environment model: Windows

Take a look at how that developed over the past few decades and the style of development used.
You have folks with little to no real computer science skills hacking away.
And using a "solve the problem of the day" approach rather than a planned & designed approach.

So many things are done haphazardly and problems/issue are often solved at the wrong level
because there is no understanding of the overall system, often because there is no overall
system design.

To me, all this Arduino stuff is eerily similar to much of nonsense I see in the Windows world.

--- bill