[Stackless] patch for building under freebsd
sean.bowman at acm.org
sean.bowman at acm.org
Fri May 17 08:19:23 CEST 2002
hello,
I just checked out stackless and built it under freebsd 4.5, but I needed
to make the small change below for it to build. this certainly looks like
a mistake since "arg" is not a parameter of the function channel_receive,
but I'm not sure what the correct fix is. (I haven't figured out
tasklets yet, much less channels.)
anyhow, thanks for a very interesting bit of software!
Sean
--- stacklessmodule.c 2002/05/16 20:07:30 1.18
+++ stacklessmodule.c 2002/05/17 06:08:19
@@ -288,7 +288,7 @@
/* insert the receiver before the sender */
slp_tasklet_insert(&tstate->slp_state.current, sender);
--self->sending;
- if (slp_schedule_task(sender, receiver, arg))
+ if (slp_schedule_task(sender, receiver, NULL))
return NULL;
Py_INCREF(Py_None);
return Py_None;
_______________________________________________
Stackless mailing list
Stackless at www.tismer.com
http://www.tismer.com/mailman/listinfo/stackless
More information about the Stackless
mailing list