[Dune-devel] [SOCIS 2014]: C++11 threads vs POSIX threads

Christoph Grüninger christoph.grueninger at iws.uni-stuttgart.de
Fri Jun 6 00:45:07 CEST 2014


Hi Marco,
I prefer the C++11 way. I hope that it will detect more
error at compile time and will be better supported by
C++ tools in the not so far future.

The compatibility with older compilers is a real issue.
Maybe we can argue this is an additional feature and
it is only support for newer compilers. There were
similar cases in the past.

Libraries could help us. Either Boost.Thread which pulls
in other Boost libraries and which is avoided in Dune.
Or TinyThread++ [1] might be worth a try. According to
the web it is a header-only library.

Bye
Christoph


[1] http://tinythreadpp.bitsnbites.eu/

-- 
Das Kommt darauf an, in welchen Zeiträumen du
rechnest. Für Geologen: ja, in naher Zukunft
[Stefan Seyfried in suse-laptop]




More information about the Dune-devel mailing list