Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14ae4b4

Browse files
committed
Fix some typos.
Add an index entry.
1 parent c4e3bf9 commit 14ae4b4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/lib/libsched.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ \section{\module{sched} ---
77
\modulesynopsis{General purpose event scheduler.}
88

99
The \module{sched} module defines a class which implements a general
10-
purpose event scheduler:
10+
purpose event scheduler:\index{event scheduling}
1111

1212
\begin{classdesc}{scheduler}{timefunc, delayfunc}
1313
The \class{scheduler} class defines a generic interface to scheduling
1414
events. It needs two functions to actually deal with the ``outside world''
1515
--- \var{timefunc} should be callable without arguments, and return
16-
a number (the ``time'', in any units whatsoever). The \var{delayfunc}
16+
a number (the ``time'', in any units whatsoever). The \var{delayfunc}
1717
function should be callable with one argument, compatible with the output
1818
of \var{timefunc}, and should delay that many time units.
1919
\var{delayfunc} will also be called with the argument \code{0} after
@@ -43,9 +43,9 @@ \section{\module{sched} ---
4343
\end{verbatim}
4444

4545

46-
\subsection{Schedule Objects \label{schedule-objects}}
46+
\subsection{Scheduler Objects \label{scheduler-objects}}
4747

48-
\class{schdule} instances have the following methods:
48+
\class{scheduler} instances have the following methods:
4949

5050
\begin{methoddesc}{enterabs}{time, priority, action, argument}
5151
Schedule a new event. The \var{time} argument should be a numeric type
@@ -74,7 +74,7 @@ \subsection{Schedule Objects \label{schedule-objects}}
7474
\end{methoddesc}
7575

7676
\begin{methoddesc}{empty}{}
77-
Check whether there are no scheduled events.
77+
Return true if the event queue is empty.
7878
\end{methoddesc}
7979

8080
\begin{methoddesc}{run}{}

0 commit comments

Comments
 (0)