Yes. However, any library routines that zlib uses and any application provided memory allocation routines must also be thread-safe.