% % This file was automatically produced at Feb 27 2003, 22:51:56 by % c2latex mutex0.c % \expandafter\ifx\csname indentation\endcsname\relax% \newlength{\indentation}\fi \setlength{\indentation}{0.5em} \begin{flushleft} {\tt \#include} $<${\tt{}pthread.h}$>$\mbox{}\\ {\tt \#include} $<${\tt{}stdio.h}$>$\mbox{}\\ \mbox{}\\ {\bf struct} \{\mbox{}\\ \hspace*{8\indentation}pthread\_mutex\_t mutex; {$/\ast$\it{} protects access to value $\ast/$}\mbox{}\\ \hspace*{8\indentation}{\bf int} value; \hfill{$/\ast$\it{} Access protected by mutex $\ast/$}\mbox{}\\ \} data = \{ PTHREAD\_MUTEX\_INITIALIZER, 0 \};\mbox{}\\ \end{flushleft}