summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-07 13:25:53 +0000
committerMartin Mares <mj@ucw.cz>2000-06-07 13:25:53 +0000
commit58f7d004fddd2cccdb019be59b6cc7a8abe50510 (patch)
tree97d14f24e68ec6d32d114af62dab293a9abeb10c /lib
parent38203d789a872077ec174a63a448568725e4715f (diff)
Fixes to the progdoc.
Diffstat (limited to 'lib')
-rw-r--r--lib/event.c4
-rw-r--r--lib/resource.sgml2
-rw-r--r--lib/slab.c4
3 files changed, 4 insertions, 6 deletions
diff --git a/lib/event.c b/lib/event.c
index 788aab42..9b5870d3 100644
--- a/lib/event.c
+++ b/lib/event.c
@@ -13,12 +13,10 @@
* Since BIRD is single-threaded, it requires long lasting tasks to be split to smaller
* parts, so that no module can monopolize the CPU. To split such a task, just create
* an &event resource, point it to the function you want to have called and call ev_schedule()
- * to ask the core to run the event when nothing more important will require attention.
+ * to ask the core to run the event when nothing more important requires attention.
*
* You can also define your own event lists (the &event_list structure), enqueue your
* events in them and explicitly ask to run them.
- *
- * The actual implementation is system dependent.
*/
#include "nest/bird.h"
diff --git a/lib/resource.sgml b/lib/resource.sgml
index df02bbfc..6b6dd7d2 100644
--- a/lib/resource.sgml
+++ b/lib/resource.sgml
@@ -21,7 +21,7 @@ modules of BIRD, deallocates everything automatically when a module
shuts down and it's is able to print out the list of resources and
the corresponding modules they are allocated by.
-<p>Each allocated resource (and from now we'll speak about allocated
+<p>Each allocated resource (from now we'll speak about allocated
resources only) is represented by a structure starting with a standard
header (struct <struct/resource/) consisting of a list node (resources are
often linked to various lists) and a pointer to <struct/resclass/ -- a resource
diff --git a/lib/slab.c b/lib/slab.c
index 736dcb82..c6a56f7b 100644
--- a/lib/slab.c
+++ b/lib/slab.c
@@ -19,10 +19,10 @@
* constructors and destructors.
*
* When the |DEBUGGING| switch is turned on, we automatically fill all
- * newly allocated and freed blocks with a special patterns to make detection
+ * newly allocated and freed blocks with a special pattern to make detection
* of use of uninitialized or already freed memory easier.
*
- * Example: Nodes of a FIB are allocated from a Slab.
+ * Example: Nodes of a FIB are allocated from a per-FIB Slab.
*/
#include <stdlib.h>