Skip to content
Snippets Groups Projects
Commit 12474caf authored by Anders Märak Leffler's avatar Anders Märak Leffler
Browse files

Added note on threading.Condition.

parent 99596763
Branches
No related tags found
No related merge requests found
......@@ -18,6 +18,10 @@
howpublished = {\url{https://docs.python.org/3/library}}
}
@misc{python-condition,
howpublished = {\url{https://docs.python.org/3/library/threading.html#threading.Condition}}
}
@misc{python-ipc,
howpublished = {\url{https://docs.python.org/3/library/ipc.html}}
}
......
No preview for this file type
......@@ -145,6 +145,14 @@ join and leave the system. For simplicity, you may assume that the peer holding
the token never disappears (\eg, due to a system crash) without passing the
token to someone else.
\subsection{Additional notes}
So far in this course we have only explored certain behaviours when it
comes to locks. You may want to consult the Python documentation for
\code{threading.Condition} for some additional mechanisms (rather than
try to implement them yourself, as this is not the focus of this
lab).\cite{python-condition}
\section{Conclusion}
In this lab, you have implemented one of the algorithms for distributed mutual
exclusion. As motivated in the introduction, such an algorithm is a crucial
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment