Mercurial > public > mercurial-scm > hg
comparison contrib/python-zstandard/zstd/common/threading.c @ 42937:69de49c4e39c
zstandard: vendor python-zstandard 0.12
The upstream source distribution from PyPI was extracted. Unwanted
files were removed.
The clang-format ignore list was updated to reflect the new source
of files.
test-repo-compengines.t was updated to reflect a change in behavior
of the zstd library.
The project contains a vendored copy of zstandard 1.4.3. The old
version was 1.3.8. This should result in some minor performance wins.
# no-check-commit because 3rd party code has different style guidelines
Differential Revision: https://phab.mercurial-scm.org/D6858
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 15 Sep 2019 20:04:00 -0700 |
parents | b1fb341d8a61 |
children | de7838053207 |
comparison
equal
deleted
inserted
replaced
42936:2da754532dd3 | 42937:69de49c4e39c |
---|---|
12 | 12 |
13 /** | 13 /** |
14 * This file will hold wrapper for systems, which do not support pthreads | 14 * This file will hold wrapper for systems, which do not support pthreads |
15 */ | 15 */ |
16 | 16 |
17 /* create fake symbol to avoid empty trnaslation unit warning */ | 17 /* create fake symbol to avoid empty translation unit warning */ |
18 int g_ZSTD_threading_useles_symbol; | 18 int g_ZSTD_threading_useless_symbol; |
19 | 19 |
20 #if defined(ZSTD_MULTITHREAD) && defined(_WIN32) | 20 #if defined(ZSTD_MULTITHREAD) && defined(_WIN32) |
21 | 21 |
22 /** | 22 /** |
23 * Windows minimalist Pthread Wrapper, based on : | 23 * Windows minimalist Pthread Wrapper, based on : |