summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
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 788aab4..9b5870d 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 df02bbf..6b6dd7d 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 736dcb8..c6a56f7 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>