[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sched_get_priority_min() ?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: sched_get_priority_min() ?
- From: chakl_(_at_)_syscall_(_dot_)_de (Olaf Schreck)
- Date: Thu, 26 May 2005 16:45:57 +0200
Hi,
I'm trying to build fprobe (NetFlow probe, http://fprobe.sourceforge.net/)
on 3.7/i386, but linking bombs out with undefined references to
sched_get_priority_{min,max}.
I see these declared in /usr/include/sched.h but I can't find the lib
to link with. Passing -lpthread doesn't help. nm /usr/lib/* | grep ...
doesn't show. Found a few references to this in the gcc/libstdc++ and
compat_linux src, but this is getting too deep for me..
This is only used to set 2 vars so it's easily faked if I knew what to
put there:
sched_min = sched_get_priority_min(SCHED);
sched_max = sched_get_priority_max(SCHED);
Anyone could shine a light? Thanks in advance.
ciao,
chakl
Visit your host, monkey.org