X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a4c95b1dede3a4652f67577b76d844123cb8223a..0c586d7f087b772253980cafd92796edcbd58c50:/src/kernel/activity/IoImpl.hpp diff --git a/src/kernel/activity/IoImpl.hpp b/src/kernel/activity/IoImpl.hpp index d3b84fd561..bb0b666d2c 100644 --- a/src/kernel/activity/IoImpl.hpp +++ b/src/kernel/activity/IoImpl.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2022. 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. */ @@ -20,11 +20,9 @@ class XBT_PUBLIC IoImpl : public ActivityImpl_T { s4u::Io::OpType type_ = s4u::Io::OpType::READ; sg_size_t performed_ioops_ = 0; resource::Action* timeout_detector_ = nullptr; - s4u::Io* piface_; public: IoImpl(); - s4u::Io* get_iface() { return piface_; } IoImpl& set_sharing_penalty(double sharing_penalty); IoImpl& set_timeout(double timeout) override; @@ -39,6 +37,7 @@ public: IoImpl* start(); void post() override; + void set_exception(actor::ActorImpl* issuer) override; void finish() override; static void wait_any_for(actor::ActorImpl* issuer, const std::vector& ios, double timeout); };