Charles-François Natali <[email protected]> added the comment:
> 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'.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12868>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com