Re: Synchronous method in asynchronous signal callback

Lennart Poettering <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <20150526194947.GA6163@gardel-login>
On Tue, 26.05.15 19:27, Simon McVittie ([email protected]) 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
_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.