16.2 Are nested acquisitions of a mutex permitted?

Yes. Once acquired, a mutex can be re-acquired by its owner task but not by another task. Any level of nesting is allowed but for each level of nested acquisition, there must be a balancing release of the mutex. When the number of nested levels balances with the number of releases, the mutex becomes available for acquisition by another task.

Back to the top of FAQs

Comments are closed.