Message143278
> It does not build completely, I have a problem if I add
> --without-threads:
Until this gets fixed, if you want to do a quick test, you could just remove the calls to sched_get_priority_(min|max):
"""
diff -r 0968acf0e6db Modules/posixmodule.c
--- a/Modules/posixmodule.c Wed Aug 31 16:52:12 2011 +0200
+++ b/Modules/posixmodule.c Wed Aug 31 22:51:13 2011 +0200
@@ -4562,7 +4562,6 @@
if (!PyArg_ParseTuple(args, "i:sched_get_priority_max", &policy))
return NULL;
- max = sched_get_priority_max(policy);
if (max < 0)
return posix_error();
return PyLong_FromLong(max);
@@ -4579,7 +4578,6 @@
if (!PyArg_ParseTuple(args, "i:sched_get_priority_min", &policy))
return NULL;
- min = sched_get_priority_min(policy);
if (min < 0)
return posix_error();
return PyLong_FromLong(min);
"""
That should allow you to rebuild with 'without-threads'. |
|
Date |
User |
Action |
Args |
2011-08-31 20:51:00 | neologix | set | recipients:
+ neologix, vstinner, rpointel |
2011-08-31 20:51:00 | neologix | set | messageid: <1314823860.91.0.723056181529.issue12868@psf.upfronthosting.co.za> |
2011-08-31 20:51:00 | neologix | link | issue12868 messages |
2011-08-31 20:51:00 | neologix | create | |
|