X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/17616c140fdd6df448bf3b89e258e0bcd4f0ff0d..refs/heads/master:/include/simgrid/barrier.h diff --git a/include/simgrid/barrier.h b/include/simgrid/barrier.h index 83347fea4d..a3c7da0a7e 100644 --- a/include/simgrid/barrier.h +++ b/include/simgrid/barrier.h @@ -1,6 +1,6 @@ -/* Public interface to the Link datatype */ +/* Public interface to the Barrier datatype */ -/* Copyright (c) 2018-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2018-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -11,7 +11,7 @@ #include #ifdef __cplusplus -constexpr int SG_BARRIER_SERIAL_THREAD = -1; +constexpr bool SG_BARRIER_SERIAL_THREAD = true; #else #define SG_BARRIER_SERIAL_THREAD -1 #endif