]> git.ipfire.org Git - thirdparty/zstd.git/commit
fixed complex tsan issue
authorYann Collet <cyan@fb.com>
Thu, 20 Sep 2018 20:47:31 +0000 (13:47 -0700)
committerYann Collet <cyan@fb.com>
Thu, 20 Sep 2018 20:47:31 +0000 (13:47 -0700)
commit7992942d6649df3bed2ce87dfb2d8889b60ce278
tree0dc4bc50fe386e04a9de82be6849d68babc0492d
parent15519479ba2b6387952b95f9404329529e473581
fixed complex tsan issue

when job->consumed == job->src.size , compression job is presumed completed,
so it must be the very last action done in worker thread.
lib/compress/zstdmt_compress.c