Re: [linux-audio-dev] POSIX clocks now in linux 2.5

2003-03-04 Thread Fons Adriaensen
Paul Davis writes: > the kernel gives non-SCHED_FIFO/RR threads roughly 1/HZ > resolution. Seems to be 20 ms on my unpatched standard SuSE 2.4.19. I imagine this can be lowered by modifying the kernel config ? > SCHED_FIFO/RR threads can get better than that if the > delay is very small, but

Re: [linux-audio-dev] POSIX clocks now in linux 2.5

2003-03-03 Thread Paul Davis
> > while (1) { > > ... > > usleep (usecs_till_next_event); > > /* we're know its the right time, > > instead of being rounded to > > the default HZ > > */ > > deliver_events (); > > } > >Is this really new ? I was porting some C++ thread cl

Re: [linux-audio-dev] POSIX clocks now in linux 2.5

2003-02-28 Thread Fons Adriaensen
Steve Harris writes: > On Fri, Feb 28, 2003 at 03:49:59 +0100, Fons Adriaensen wrote: > > Is this really new ? I was porting some C++ thread classes (originally > > developed for Solaris) to 2.4.19 this week. The ITC mechanism uses > > pthread_cond_timedwait(), which takes a struct timespec * r

Re: [linux-audio-dev] POSIX clocks now in linux 2.5

2003-02-28 Thread Steve Harris
On Fri, Feb 28, 2003 at 03:49:59 +0100, Fons Adriaensen wrote: > Is this really new ? I was porting some C++ thread classes (originally > developed for Solaris) to 2.4.19 this week. The ITC mechanism uses > pthread_cond_timedwait(), which takes a struct timespec * referring to > an absolute time, t

Re: [linux-audio-dev] POSIX clocks now in linux 2.5

2003-02-28 Thread Fons Adriaensen
Paul Davis writes: > >>From the 2.5.63 changelog: > > > > o POSIX clocks & timers > > > >Phat :) > > Super-Callifragilistic-Expealido-phat-cious!! > > finally, we can do real MIDI sequencing with Linux: > > while (1) { > ... > usleep (usecs_till_next_event); >

Re: [linux-audio-dev] POSIX clocks now in linux 2.5

2003-02-27 Thread Bob Ham
On Thu, 2003-02-27 at 17:00, Paul Davis wrote: > i just hope that this change reflects the whole enchilada > (reprogramming the APIC) rather than just the POSIX clock API. is > there any sign of this? I believe so. From this thread in the high-res-timers archives: http://sourceforge.net/mailarc

Re: [linux-audio-dev] POSIX clocks now in linux 2.5

2003-02-27 Thread Paul Davis
>>From the 2.5.63 changelog: > > o POSIX clocks & timers > >Phat :) Super-Callifragilistic-Expealido-phat-cious!! finally, we can do real MIDI sequencing with Linux: while (1) { ... usleep (usecs_till_next_event); /* we're know its the right time, in

[linux-audio-dev] POSIX clocks now in linux 2.5

2003-02-27 Thread Bob Ham
>From the 2.5.63 changelog: o POSIX clocks & timers Phat :) -- Bob Ham <[EMAIL PROTECTED]>