STINNER Victor <victor.stin...@haypocalc.com> added the comment: >> It builds correctly with -pthread or -lpthread, but it fails to build >> without these options. >> > > Not on Linux: this is specific to OpenBSD.
Oh, I forgot to specify: yes, I tested on OpenBSD (5.0). >> sched_get_priority_max() and sched_get_priority_min() come from libpthread >> on OpenBSD, whereas Python only checks for "#ifdef HAVE_SCHED_H". >> > > That's exactly what I said in my previous message ;-) > I'll post a patch later. Yep, it's just that I have the confirmation with my tests. ---------- title: Disable sched_get_priority_min/max if Python is compiled without threads -> Disable sched_get_priority_min/max if Python is compiled without threads _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12871> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com