]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/activity/ConditionVariableImpl.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill Simcall::COMM_WAIT
[simgrid.git] / src / kernel / activity / ConditionVariableImpl.hpp
index eb6937b3393bb60943565b92ab18e54bf100797b..42707f42feb1957d2cb3f3a2871dac9aefe1084d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2012-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. */
@@ -25,9 +25,9 @@ class XBT_PUBLIC ConditionVariableImpl {
 
 public:
   ConditionVariableImpl() : piface_(this){};
-  ~ConditionVariableImpl() = default;
 
   void remove_sleeping_actor(actor::ActorImpl& actor) { xbt::intrusive_erase(sleeping_, actor); }
+  const s4u::ConditionVariable* get_iface() const { return &piface_; }
   s4u::ConditionVariable* get_iface() { return &piface_; }
   void broadcast();
   void signal();