10 Jun
2008
10 Jun
'08
08:36
Duncan Mac-Vicar Prett wrote:
Stanislav Visnovsky wrote:
IIRC, Duncan has a half-finished patch for download in threaded way.
Stano
(only internal) http://w3.suse.de/~dmacvicar/libzypp/0001-first-attempt-to-do-paralell-downl...
It does a nice crash :-)
I see that duncan use boost::thread and because I never use it I write little performance test for boost::thread if pthreads isn't better. And result is that it is almost same (different is statistical error). boost threads: user time: 4032 system time: 24 pthreads: user time: 4076 system time: 14 source code attached. Pepa