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

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


@ignatenkobrain commented on this pull request.



>  	    goto err;
 	}
+
+	if (threads > 0)
+	  if (ZSTD_isError (ZSTD_CCtx_setParameter(_stream, ZSTD_c_nbWorkers, threads)))

hmmpf, this always gives me an error on Fedora Rawhide:

```
warning: zstd library does not support multi-threading
```

With `ZSTD_getErrorName()` I get `Unsupported parameter`.

-- 
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-446815348
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200711/2a4d82bb/attachment.html>


More information about the Rpm-maint mailing list