Commit 790baa8b authored by Joseph Noir's avatar Joseph Noir

Fix typos

parent 9fe86509
......@@ -57,7 +57,7 @@ class local_actor;
\hline
\lstinline^void demonitor(actor whom)^ & Removes a monitor from \lstinline^whom^ \\
\hline
\lstinline^bool has_sync_failure_handler()^ & Checks wheter this actor has a user-defined sync failure handler \\
\lstinline^bool has_sync_failure_handler()^ & Checks whether this actor has a user-defined sync failure handler \\
\hline
\lstinline^template <class F>^ \lstinline^void set_exception_handler(F f)^ & Sets a custom handler for uncaught exceptions \\
\hline
......
......@@ -115,10 +115,10 @@ This is unlike other event-based implementations of the actor model such as Akka
\subsection{Timeouts}
\label{Sec::Receive::Timeouts}
A behavior set by \lstinline^become^ is invoked whenever a new messages arrives.
A behavior set by \lstinline^become^ is invoked whenever a new message arrives.
If no message ever arrives, the actor would wait forever.
This might be desirable if the actor only provides a service and should not do anything else.
But often, we need to be able to recover if an expected messages does not arrive within a certain time period. The following examples illustrates the usage of \lstinline^after^ to define a timeout.
But often, we need to be able to recover if an expected message does not arrive within a certain time period. The following examples illustrates the usage of \lstinline^after^ to define a timeout.
\begin{lstlisting}
behavior eager_actor(event_based_actor* self) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment