Synchronous method in asynchronous signal callback

Lennart Poettering mzqohf at 0pointer.de
Tue May 26 12:49:47 PDT 2015


On Tue, 26.05.15 19:27, Simon McVittie (simon.mcvittie at collabora.co.uk) wrote:

> systemd? Linked list; hash table; main loop (although at least systemd
> doesn't aim to be portable beyond Linux, so it can assume timerfd and
> epoll); UTF-8; again, all rather familiar.

[...]

> I have to wonder, how many partial "make C not awful" libraries are
> there on my Linux laptop, and how many copies of GLib could I fit in the
> same amount of space they use? :-)
> 
> Hence my tendency to recommend "if you can, use GLib or similar; if you
> think you can't, reconsider your constraints before proceeding" over
> reinventing it for the nth time.

BTW, we'd probably have used glib in systemd if it wasn't for the fact
that it's not OOM-safe, which makes it a non-option for us...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the dbus mailing list