[PD-dev] which cvs of portaudio are we using?

Tim Blechmann TimBlechmann at gmx.net
Wed Jul 13 00:32:00 CEST 2005


> ...line 866 for my m_sched.c is sys_setscheduler(), not  
> sched_setscheduler()...I'm beginning to think this may be due to some 
> apple shenanigans with switching around posix defines and such...?
it seems that sys_setscheduler() is not implemented in osx / bsd ...

but violating the POSIX standard, _POSIX_PRIORITY_SCHEDULING is defined
... quoting Linux Programmer's Manual, SETSCHEDULER(2):
> POSIX systems on which sched_setscheduler and sched_getscheduler are
> available define _POSIX_PRIORITY_SCHEDULING in <unistd.h>.

seems, we'll have to find another way to set the realtime scheduling on
osx 
btw, you're running tiger / gcc 4.0, aren't you? it compiled fine on
panther with gcc 3.3 ... 
hopefully osx 10.5 (yet another cat) will finally be posix compliant ...

until then, we'll probably have to write a workaround with getpriority
and setpriority ...

cheers ... tim

-- 
mailto:TimBlechmann at gmx.de    ICQ: 96771783
http://www.mokabar.tk

latest mp3: kMW.mp3
http://mattin.org/mp3.html

latest cd: Goh Lee Kwang & Tim Blechmann: Drone
http://www.geocities.com/gohleekwangtimblechmannduo/

After one look at this planet any visitor from outer space 
would say "I want to see the manager."
				      William S. Burroughs




More information about the Pd-dev mailing list