Charles-François Natali <neolo...@free.fr> 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.

> 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.

----------
title: Disable sched_get_priority_min/max on OpenBSD 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

Reply via email to