diff options
author | Niels Provos <provos@gmail.com> | 2004-12-01 20:10:16 +0000 |
---|---|---|
committer | Niels Provos <provos@gmail.com> | 2004-12-01 20:10:16 +0000 |
commit | cacd83983f20af59b9a137886131a63f834a06e9 (patch) | |
tree | 55f741bfa5c48240a470ce868f7891abd613b832 /event.3 | |
parent | 256460459e6e9a8358337f64b8080c6665f34c1a (diff) | |
download | libevent-cacd83983f20af59b9a137886131a63f834a06e9.tar.gz |
documentation on thread safe events
svn:r126
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. |