From: Martin Quinson Date: Wed, 11 Jan 2023 14:05:32 +0000 (+0100) Subject: pthreads are not used anymore. Standard C++ ones are X-Git-Tag: v3.34~646 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/f8e7b4cec7149a685b0a4a58ba56088613124377 pthreads are not used anymore. Standard C++ ones are --- diff --git a/docs/source/Configuring_SimGrid.rst b/docs/source/Configuring_SimGrid.rst index 9a68fcd47a..51dc9f8ef2 100644 --- a/docs/source/Configuring_SimGrid.rst +++ b/docs/source/Configuring_SimGrid.rst @@ -897,10 +897,10 @@ should be the most effcient one (please report bugs if the auto-detection fails for you). They are approximately sorted here from the slowest to the most efficient: - - **thread:** very slow factory using full featured threads (pthreads). + - **thread:** very slow factory using full featured, standard threads. They are slow but very standard. Some debuggers or profilers only work with this factory. - **java:** Java applications are virtualized onto java threads (that - are regular pthreads registered to the JVM) + are regular system threads registered to the JVM) - **ucontext:** fast factory using System V contexts (Linux and FreeBSD only) - **boost:** This uses the `context implementation `_ diff --git a/src/kernel/EngineImpl.cpp b/src/kernel/EngineImpl.cpp index f2914a0ff8..a5cd1612c5 100644 --- a/src/kernel/EngineImpl.cpp +++ b/src/kernel/EngineImpl.cpp @@ -260,7 +260,7 @@ void EngineImpl::context_mod_init() const XBT_ERROR(" (boost was disabled at compilation time on this machine -- check configure logs for details. Did you " "install the libboost-context-dev package?)"); #endif - XBT_ERROR(" thread: slow portability layer using pthreads as provided by gcc"); + XBT_ERROR(" thread: slow portability layer using standard threads as provided by libstdc"); xbt_die("Please use a valid factory."); } }