summaryrefslogtreecommitdiff
path: root/event.3
diff options
context:
space:
mode:
Diffstat (limited to 'event.3')
-rw-r--r--event.313
1 files changed, 12 insertions, 1 deletions
diff --git a/event.3 b/event.3
index c263a494..bfff5928 100644
--- a/event.3
+++ b/event.3
@@ -73,7 +73,7 @@
.Sh SYNOPSIS
.Fd #include <sys/time.h>
.Fd #include <event.h>
-.Ft void
+.Ft "struct event_base *"
.Fn "event_init"
.Ft int
.Fn "event_dispatch"
@@ -399,6 +399,17 @@ By default,
assigns the middle priority to all events unless their priority
is explicitly set.
.Pp
+.Sh THREAD SAFE EVENTS
+.Nm Libevent
+has experimental support for thread-safe events.
+When initializing the library via
+.Fn event_init ,
+an event base is returned.
+This event base can be used in conjunction with calls to
+.Fn event_base_set
+and
+.Fn event_base_dispatch .
+.Pp
.Sh BUFFERED EVENTS
.Nm libevent
provides an abstraction on top of the regular event callbacks.