1 /* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #include "src/simix/Synchro.h"
8 simgrid::simix::Synchro::Synchro()
12 simgrid::simix::Synchro::~Synchro()
16 void simgrid::simix::Synchro::ref()
21 void simgrid::simix::Synchro::unref()
23 xbt_assert(refcount > 0,
24 "This synchro has a negative refcount! You can only call test() or wait() once per synchronization.");