Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 May 1999 12:11:25 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        fengyue@bluerose.windmoon.nu, freebsd-hackers@FreeBSD.ORG
Subject:   Re: pthread scheduling?
Message-ID:  <199905271611.MAA00522@pcnet1.pcnet.com>

next in thread | raw e-mail | index | archive | help
> It seems on 2.2.8 and 3.1, pthread_attr_getschedpolicy and
> pthread_attr_setschedpolicy are not implemented.
>
>         nm /usr/lib/libc_r.a | grep pthread_attr_getschedpolicy
>
> Even tho I could see it from the pthread manpage.
>
> So, how do you guys do thread scheduling?

Upgrade to 3.2-stable or use pthread_setprio/pthread_getprio.

bash-2.02$ uname -v
FreeBSD 3.2-BETA #3: Tue May 11 19:06:08 EDT 1999
bash-2.02$  nm /usr/lib/libc_r.a | grep pthread_attr_getschedpolicy
00000000 T pthread_attr_getschedpolicy

Dan Eischen
eischen@vigrid.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905271611.MAA00522>