Commits

David Schneider committed ffdda64

update calls to stacklet_switch

Comments (0)

Files changed (1)

rpython/translator/c/src/stacklet/tests.c

   assert(status == 0);
   status = 1;
   assert(h != EMPTY_STACKLET_HANDLE);
-  h = stacklet_switch(thrd, h);
+  h = stacklet_switch(h);
   assert(status == 2);
   assert(h != EMPTY_STACKLET_HANDLE);
   status = 3;
   assert(h != EMPTY_STACKLET_HANDLE);
   assert(status == 1);
   status = 2;
-  h = stacklet_switch(thrd, h);
+  h = stacklet_switch(h);
   assert(status == 3);
   assert(h == EMPTY_STACKLET_HANDLE);
 }
           //printf("switch to %d\n", n);
           h = handles[n];
           handles[n] = NULL;
-          h = stacklet_switch(thrd, h);
+          h = stacklet_switch(h);
         }
       //printf("back in self = %d, coming from %d\n", self, comefrom);
       assert(nextstep == status);