• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 Rene Rivera
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at
4# http://www.boost.org/LICENSE_1_0.txt)
5
6import feature ;
7
8#| tag::doc[]
9
10[[bbv2.builtin.features.threading]]`threading`::
11*Allowed values:* `single`, `multi`
12+
13Controls if the project should be built in multi-threaded mode. This feature
14does not necessary change code generation in the compiler, but it causes the
15compiler to link to additional or different runtime libraries, and define
16additional preprocessor symbols (for example, `_MT` on Windows and `_REENTRANT`
17on Linux). How those symbols affect the compiled code depends on the code
18itself.
19
20|# # end::doc[]
21
22feature.feature threading
23    : single multi
24    : propagated ;
25