[Zlib-devel] Parallel zlib

Enrico Weigelt weigelt at metux.de
Sun Apr 4 15:44:09 EDT 2010


* Mark Adler <madler at alumni.caltech.edu> schrieb:

Hi,

> I could write a new threaded library that uses the zlib for 
> compression within each thread, leaving zlib unthreaded.

That's IMHO the way to go.
 
> On the other hand if the threading were built into zlib, I 
> could make sure that it never launched threads unless 
> explicitly requested by the application.

But please make this a _new_ library (NOT called "libz.*"!),
otherwise you'll introduce enormous semantic changes to 
applications never expecting it. That would force a fork.


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------




More information about the Zlib-devel mailing list