diff options
Diffstat (limited to 'event.3')
-rw-r--r-- | event.3 | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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. |