\subsection{Nestable Lock Routines} \label{subsec:nestable_lock} \index{nestable lock} The following example demonstrates how a nestable lock can be used to synchronize updates both to a whole structure and to one of its members. \cexample{nestable_lock}{1} \fexample{nestable_lock}{1}