Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mutualExclusion -> app/centralizedmutex
[simgrid.git] / examples / java / app / centralizedmutex / RequestTask.java
diff --git a/examples/java/app/centralizedmutex/RequestTask.java b/examples/java/app/centralizedmutex/RequestTask.java
new file mode 100644 (file)
index 0000000..adfc3a7
--- /dev/null
@@ -0,0 +1,16 @@
+/* Copyright (c) 2012-2014, 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. */
+
+package app.centralizedmutex;
+import org.simgrid.msg.Task;
+
+public class RequestTask extends Task {
+  String from;
+  public RequestTask(String name) {
+    super();
+    from=name;
+  }
+}