diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-10-16 22:45:37 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-11-30 12:38:26 +0100 |
commit | 575fe03ee310c740bfa2950aa55b3358e8a60eee (patch) | |
tree | 930d6ef6fe5a1c7f54a8920d04bd850698430caf /apt-pkg/init.cc | |
parent | d23bda42456bd092751deb24d8295c27a15721e8 (diff) |
webserver: use pthreads to handle multiple clients
Clients like browsers prefer to open many connections and keep them open
for a while, so that pages with lot of subelements would take a while to
load (if at all), by using threads as all servers do some way or another
we can resolve this. libapt is not intended to be pthread-safe and stuff
like the storage of the last return code doesn't make too much sense if
multiple clients interact with us, but it is good enough for now and an
other interesting (mis)use of libapt in general.
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/init.cc')
0 files changed, 0 insertions, 0 deletions