X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_event_new.xml;h=6545cde7cac678f7bd02edfa1c968f5f4181d54d;hp=1fe18202b6de58d31515a51c6dd4812b1b64ad36;hb=a6ad1458e8baf913e9ee377c52863b927d7a2638;hpb=3379e257ee06f997ec756cd70008353796457b43 diff --git a/man/sd_event_new.xml b/man/sd_event_new.xml index 1fe18202b..6545cde7c 100644 --- a/man/sd_event_new.xml +++ b/man/sd_event_new.xml @@ -92,7 +92,7 @@ along with systemd; If not, see . to the default event loop object of the calling thread, possibly allocating a new object if no default event loop object has been allocated yet for the thread. After use drop the returned - referened with sd_event_unref(). When the + reference with sd_event_unref(). When the last reference is dropped the event loop is freed. If this function is called while the object returned from a previous call from the same thread is still referenced, the same object is @@ -108,7 +108,7 @@ along with systemd; If not, see . sd_event_unref() decreases the reference counter of the specified event loop object by one. If - the counter hits zero the event loop object is freed. Not that it + the counter hits zero the event loop object is freed. Note that it is freed regardless if it is the default event loop object of a thread or not. This means that allocating an event loop with sd_event_default(), then releasing it and