[systemd-devel] [RFC 0/6] A network proxy management daemon, systemd-proxy-discoveryd

Lennart Poettering lennart at poettering.net
Sun Apr 12 12:51:38 PDT 2015


On Sun, 12.04.15 12:49, Marcel Holtmann (marcel at holtmann.org) wrote:

> PACrunner is an existing implementation of this concept. It uses
> threads and seems to work just fine. We bridged libproxy API
> compatible library that talks to the PACrunner over D-Bus.

How does the abort-after-max-runtime logic work in PACrunner? How do
you abort the thread? Do you use POSIX thread cancellation (yuck!), or
do you check a cancelation flag after each javascript instruction? or
what do you do?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list