X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/940de22d7f2af82d58be3e886e6bc22608b4d8ec..d8596c05e7d798e90ae149f20ef766671f1a778f:/src/kernel/activity/SynchroRaw.hpp diff --git a/src/kernel/activity/SynchroRaw.hpp b/src/kernel/activity/SynchroRaw.hpp index 40b388795e..9ed5cf9951 100644 --- a/src/kernel/activity/SynchroRaw.hpp +++ b/src/kernel/activity/SynchroRaw.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2019. 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. */ @@ -16,14 +16,14 @@ namespace activity { /** Used to implement mutexes, semaphores and conditions */ class XBT_PUBLIC RawImpl : public ActivityImpl { public: - ~RawImpl() override; + RawImpl* start(s4u::Host* host, double timeout); void suspend() override; void resume() override; void post() override; - - simgrid::kernel::resource::Action* sleep = nullptr; - }; - -}}} // namespace simgrid::kernel::activity + void finish() override; +}; +} // namespace activity +} // namespace kernel +} // namespace simgrid #endif