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/kernel/activity/ActivityImpl.hpp"
8 simgrid::kernel::activity::ActivityImpl::ActivityImpl() = default;
9 simgrid::kernel::activity::ActivityImpl::~ActivityImpl() = default;
11 void simgrid::kernel::activity::ActivityImpl::ref()
16 void simgrid::kernel::activity::ActivityImpl::unref()
18 xbt_assert(refcount > 0,
19 "This activity has a negative refcount! You can only call test() or wait() once per activity.");