Bachelor thesis - tevent

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun Nov 25 13:19:19 MST 2012


On Sun, Nov 25, 2012 at 06:23:11PM +0100, Koňař David wrote:
> I'm working on a bachelor thesis about tevent event system under
> supervision of Red Hat branch in Brno. One of its parts is to create
> a tutorial for tevent.
> 
> Right now I'm at the beginning of my work and I would like to ask
> you if there are some important parts in tevent which I should pay
> extra attention?

Tevent as such is "just" another event library similar to
libevent or libev or many others. It has two additional
twists: It is based on talloc, and it can pass on the
siginfo signal information. Beyond that's there is not
really much that it adds.

The piece that makes a difference is the tevent_req API.
This enables composable async sequences of events to be
coded in C relatively easy. See
https://tevent.samba.org/group__tevent__request.html for a
quick overview, and source3/winbind/*.c for a lot of
examples how it is used.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list