]> git.ipfire.org Git - thirdparty/zstd.git/commit
Move XXH64_update() into worker threads 1056/head
authorNick Terrell <terrelln@fb.com>
Thu, 1 Mar 2018 04:10:44 +0000 (20:10 -0800)
committerNick Terrell <terrelln@fb.com>
Mon, 19 Mar 2018 18:08:27 +0000 (11:08 -0700)
commit2253d01b271ed7a0d2ebe359b55aa5b3c0f1f904
tree9d9c9d349fe5990062271380575379a507f760fa
parentf2562c02e4f69221b6165e60fe17ebd3c95c05a7
Move XXH64_update() into worker threads

* Computes the XXH hash in the worker threads.
* Workers get a sequence number and wait until ther number shows up. On
  error, ensures that its sequence is finished, so future threads don't
  get blocked.
* Sets up for ldm integration, which will go in the same spot.
lib/compress/zstdmt_compress.c