[Rpm-maint] [rpm-software-management/rpm] Support threading for zstd compression. (#1303)

Igor Raits notifications at github.com
Sat Jul 11 16:51:15 UTC 2020


@ignatenkobrain commented on this pull request.



>  	    goto err;
 	}
+
+	if (threads > 0)
+	  if (ZSTD_isError (ZSTD_CCtx_setParameter(_stream, ZSTD_c_nbWorkers, threads)))
+	    rpmlog(RPMLOG_WARNING, "zstd library does not support multi-threading");

```suggestion
	    rpmlog(RPMLOG_WARNING, "zstd library does not support multi-threading\n");
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1303#pullrequestreview-446814815
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200711/43906192/attachment-0001.html>


More information about the Rpm-maint mailing list