Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Stop build the log strings on the stack: we are multi-threaded now, and this is like...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 11 Sep 2007 08:51:31 +0000 (08:51 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 11 Sep 2007 08:51:31 +0000 (08:51 +0000)
commitdd3049286b9fc1bff1b893b44311dff6191770da
tree266207df179a26a04971fe485bf3b1ba49343289
parent652f57a8ad22d3b0194df708c7049be37d7d3074
Stop build the log strings on the stack: we are multi-threaded now, and this is like asking for problems. Instead, put them in the logging event. Note the use of partial initializer in _XBT_LOG_PRE: we only set the value of the first byte, the rest will be zeroed by the compiler

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4148 48e7efb5-ca39-0410-a469-dd3cf9ba447f
include/xbt/log.h