- xbt_cfg_register_boolean("msg/debug-multiple-use", "no", _sg_cfg_cb_msg_debug_multiple_use,
- "Print backtraces of both processes when there is a conflict of multiple use of a task");
+ msg_global->debug_multiple_use = false;
+ simgrid::config::bind_flag(msg_global->debug_multiple_use, "msg/debug-multiple-use",
+ "Print backtraces of both processes when there is a conflict of multiple use of a task");