fix pointer initialization and minor changes to README of zstdmt

This commit is contained in:
Tino Reichardt
2017-05-17 12:13:36 +02:00
parent 9e50322419
commit 95e71d900b
7 changed files with 16 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
/**
* Copyright (c) 2016 Tino Reichardt
* Copyright (c) 2016 - 2017 Tino Reichardt
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
@@ -542,7 +542,7 @@ size_t LZ4MT_decompressDCtx(LZ4MT_DCtx * ctx, LZ4MT_RdWr_t * rdwr)
/* wait for all workers */
for (t = 0; t < ctx->threads; t++) {
cwork_t *wt = &ctx->cwork[t];
void *p;
void *p = 0;
pthread_join(wt->pthread, &p);
if (p)
retval_of_thread = p;