Author: David Schneider <[email protected]>
Branch:
Changeset: r64313:ffdda647471b
Date: 2013-05-19 12:46 +0200
http://bitbucket.org/pypy/pypy/changeset/ffdda647471b/
Log: update calls to stacklet_switch
diff --git a/rpython/translator/c/src/stacklet/tests.c
b/rpython/translator/c/src/stacklet/tests.c
--- a/rpython/translator/c/src/stacklet/tests.c
+++ b/rpython/translator/c/src/stacklet/tests.c
@@ -31,7 +31,7 @@
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;
@@ -45,7 +45,7 @@
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);
}
@@ -148,7 +148,7 @@
//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);
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit