Add a --enable-pthread option to activate experimental threading code
* NEWS, README, doc/org/compile.org: Mention the option and its effect on compilation requirements. * configure.ac: Add the --enable-pthread option, and ENABLE_PTHREAD macro. * doc/org/g++wrap.in, spot/Makefile.am, spot/libspot.pc.in: Compile with -pthread conditionally. * spot/graph/graph.hh, spot/twa/twagraph.cc: Adjust the code to not use thread-local variables, and let the pthread code be optional. * .gitlab-ci.yml: Activate --enable-pthread in two configurations.
This commit is contained in:
parent
721d5695ec
commit
23908f3d2f
10 changed files with 79 additions and 32 deletions
12
NEWS
12
NEWS
|
|
@ -1,5 +1,17 @@
|
|||
New in spot 2.10.6.dev (not yet released)
|
||||
|
||||
Build:
|
||||
|
||||
- A new configure option --enable-pthread enable the compilation of
|
||||
Spot with -pthread, and activate the parallel version of some
|
||||
algorithms. If Spot is compiled with -pthread enabled, any user
|
||||
linking with Spot should also link with the pthread library. In
|
||||
order to not break existing build setups using Spot, this option
|
||||
is currently disabled by default in this release. We plan to turn
|
||||
it on by default in some future release. Third-party project
|
||||
using Spot may want to start linking with -pthread in prevision
|
||||
for this change.
|
||||
|
||||
Command-line tools:
|
||||
|
||||
- autfilt has a new options --aliases=drop|keep to specify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue