Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, April 2007
qCompress/qUncompress thread safe?


Message 1 in thread

Are the qCompress and qUncompress functions in Qt 3.3.7 thread safe? 
I'm using Linux and experiencing odd memory corruption problems and 
thought perhaps its due to multiple threads calling qUncompress at once.

--
 [ signature omitted ] 

Message 2 in thread

Brad Pepers wrote:
> Are the qCompress and qUncompress functions in Qt 3.3.7 thread safe? I'm 
> using Linux and experiencing odd memory corruption problems and thought 
> perhaps its due to multiple threads calling qUncompress at once.

Forget I asked.  Looks like these function in Qt just call the functions
in zlib and zlib says its thread safe.  Sorry to send before I checked
further myself but its been a frustrating bug to find and I thought I
was on to something!

--
 [ signature omitted ]