Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove Java bindings. They are not updated since maybe 10 years
[simgrid.git] / examples / deprecated / java / async / yield / Yielder.java
diff --git a/examples/deprecated/java/async/yield/Yielder.java b/examples/deprecated/java/async/yield/Yielder.java
deleted file mode 100644 (file)
index 702b957..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright (c) 2017-2023. 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.Host;
-import org.simgrid.msg.Msg;
-import org.simgrid.msg.Process;
-
-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++)
-        Process.yield();
-    Msg.info("Yielded "+yieldsCount+". Good bye now!");
-  }
-}