Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
pthreads are not used anymore. Standard C++ ones are
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 11 Jan 2023 14:05:32 +0000 (15:05 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 12 Jan 2023 09:38:03 +0000 (10:38 +0100)
docs/source/Configuring_SimGrid.rst
src/kernel/EngineImpl.cpp

index 9a68fcd..51dc9f8 100644 (file)
@@ -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 <http://www.boost.org/doc/libs/1_59_0/libs/context/doc/html/index.html>`_
index f2914a0..a5cd161 100644 (file)
@@ -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.");
   }
 }