[pypy-commit] pypy default: update calls to stacklet_switch
bivab
noreply at buildbot.pypy.org
Sun May 19 12:47:27 CEST 2013
Author: David Schneider <david.schneider at picle.org>
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);
More information about the pypy-commit
mailing list