Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure that sthread_inside_simgrid is initially 1 to protect all lib constructors
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 24 Jun 2022 23:11:09 +0000 (01:11 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 24 Jun 2022 23:14:17 +0000 (01:14 +0200)
commitf2792e5909cc863fb914f60a25a0cfe007e213dd
tree93ccd33cdcf44f7653119b8eaa92690c67b25409
parent6ecd6f2572f82c519e15f2d4602fe8c0df69eb48
Make sure that sthread_inside_simgrid is initially 1 to protect all lib constructors

Even the ones that we don't control, such as gdb's...

In addition, there is no need to define sthread_inside_simgrid in
libsimgrid. We can keep it to libsthread where it belongs.

Also do some other cleanups around.
examples/sthread/pthread-mutex-simple.c
src/sthread/sthread.c
src/sthread/sthread_impl.cpp
src/xbt/log.cpp
src/xbt/xbt_main.cpp