Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move MSG and SimDag examples out of the sight of users
[simgrid.git] / examples / java / async / yield / Yielder.java
diff --git a/examples/java/async/yield/Yielder.java b/examples/java/async/yield/Yielder.java
deleted file mode 100644 (file)
index 1118f80..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Copyright (c) 2017. 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. */
-
-package async.yield;
-import org.simgrid.msg.Msg;
-import org.simgrid.msg.Host;
-import org.simgrid.msg.Task;
-import org.simgrid.msg.Process;
-import org.simgrid.msg.HostFailureException;
-import org.simgrid.msg.TimeoutException;
-import org.simgrid.msg.TransferFailureException;
-
-public class Yielder extends Process {
-  public Yielder (Host host, String name, String[] args) {
-    super(host, name, args);
-  }
-
-  @Override
-  public void main(String[] args) {
-    int yieldsCount = Integer.parseInt(args[0]);
-    for (int i=0; i<yieldsCount; i++)
-       yield();
-    Msg.info("Yielded "+yieldsCount+". Good bye now!");
-  }
-}
\ No newline at end of file