Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tasks created without name and costs should still be created in C world
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 27 Feb 2010 23:06:40 +0000 (23:06 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 27 Feb 2010 23:06:40 +0000 (23:06 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7142 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/java/simgrid/msg/Task.java

index 6be0204..bdd7e60 100644 (file)
@@ -26,7 +26,9 @@ public class Task {
 
 
        /* Default constructor (disabled) */
-       protected Task() {}
+       public Task() throws JniException {
+               MsgNative.taskCreate(this, null, 0, 0);
+       }
        /* *              * *
         * * Constructors * *
         * *              * */