diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-02-24 10:55:31 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-02-27 16:35:02 -0800 |
commit | 771b0d3ffbc7b034b436d4ad27be7d0a1da6b3cd (patch) | |
tree | 051bf624f251dceb88a0c36d4c4affac7a4914ea /mesonbuild/compilers/cpp.py | |
parent | b2f86c461b72e405695ab1491baba00f45af93a6 (diff) | |
download | meson-771b0d3ffbc7b034b436d4ad27be7d0a1da6b3cd.zip meson-771b0d3ffbc7b034b436d4ad27be7d0a1da6b3cd.tar.gz meson-771b0d3ffbc7b034b436d4ad27be7d0a1da6b3cd.tar.bz2 |
compilers/mixins/emscripten: Implement thread support
Emscripten has pthread support (as well as C++ threads), but we don't
currently implement them. This fixes that by adding the necessary code.
The one thing I'm not sure about is setting the pool size. The docs
suggest that you really want to do this to ensure that your code works
correctly, but the number should really be configurable, not sure how to
set that.
Fixes #6684
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r-- | mesonbuild/compilers/cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index f6f4cfc..2a244e9 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -201,7 +201,7 @@ class AppleClangCPPCompiler(ClangCPPCompiler): pass -class EmscriptenCPPCompiler(BasicLinkerIsCompilerMixin, LinkerEnvVarsMixin, EmscriptenMixin, ClangCPPCompiler): +class EmscriptenCPPCompiler(EmscriptenMixin, BasicLinkerIsCompilerMixin, LinkerEnvVarsMixin, ClangCPPCompiler): def __init__(self, exelist, version, for_machine: MachineChoice, is_cross: bool, info: 'MachineInfo', exe_wrapper=None, **kwargs): if not is_cross: |