Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Threads are now named
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 8 Aug 2007 00:04:35 +0000 (00:04 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 8 Aug 2007 00:04:35 +0000 (00:04 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4048 48e7efb5-ca39-0410-a469-dd3cf9ba447f

testsuite/xbt/context_usage.c

index 044ce41..1392e23 100644 (file)
@@ -95,9 +95,9 @@ int main(int argc, char** argv)
    
   xbt_init(&argc, argv);
 
-  cA = xbt_context_new(fA, NULL, NULL, NULL, NULL, 0, NULL);
-  cB = xbt_context_new(fB, NULL, NULL, NULL, NULL, 0, NULL);
-  cC = xbt_context_new(fC, NULL, NULL, NULL, NULL, 0, NULL);
+  cA = xbt_context_new("A",fA, NULL, NULL, NULL, NULL, 0, NULL);
+  cB = xbt_context_new("B",fB, NULL, NULL, NULL, NULL, 0, NULL);
+  cC = xbt_context_new("C",fC, NULL, NULL, NULL, NULL, 0, NULL);
 
   fifo = xbt_fifo_new();