Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / src / kernel / activity / SynchroRaw.cpp
diff --git a/src/kernel/activity/SynchroRaw.cpp b/src/kernel/activity/SynchroRaw.cpp
deleted file mode 100644 (file)
index 0f9e29f..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Copyright (c) 2007-2016. 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. */
-
-#include "src/kernel/activity/SynchroRaw.hpp"
-#include "src/surf/surf_interface.hpp"
-#include "src/simix/smx_synchro_private.h"
-
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_synchro);
-
-simgrid::kernel::activity::Raw::~Raw()
-{
-  sleep->unref();
-}
-void simgrid::kernel::activity::Raw::suspend()
-{
-  /* The suspension of raw synchros is delayed to when the process is rescheduled. */
-}
-
-void simgrid::kernel::activity::Raw::resume()
-{
-  /* I cannot resume raw synchros directly. This is delayed to when the process is rescheduled at
-   * the end of the synchro. */
-}
-void simgrid::kernel::activity::Raw::post()
-{
-  XBT_IN("(%p)",this);
-  if (sleep->getState() == simgrid::surf::Action::State::failed)
-    state = SIMIX_FAILED;
-  else if(sleep->getState() == simgrid::surf::Action::State::done)
-    state = SIMIX_SRC_TIMEOUT;
-
-  SIMIX_synchro_finish(this);
-  XBT_OUT();
-}