STINNER Victor <victor.stin...@haypocalc.com> added the comment:

> For example, the following snippet builds correctly on Linux

It builds correctly with -pthread or -lpthread, but it fails to build without 
these options.

sched_get_priority_max() and sched_get_priority_min() come from libpthread on 
OpenBSD, whereas Python only checks for "#ifdef HAVE_SCHED_H".

----------

_______________________________________
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