Re: [linux-audio-dev] oss driver for jack 0.90 rev3

2003-11-19 Thread Paul Davis
>On Wed, 2003-11-19 at 00:56, Paul Davis wrote: > >> if you used poll(2) or select(2), you could do simultaneous waits on >> each direction, regardless of whether they use different devices or >> not. you'd then reduce the context switches and the overhead of >> synchronize(). > >Context switches a

Re: [linux-audio-dev] oss driver for jack 0.90 rev3

2003-11-19 Thread Jussi Laako
On Wed, 2003-11-19 at 00:56, Paul Davis wrote: > if you used poll(2) or select(2), you could do simultaneous waits on > each direction, regardless of whether they use different devices or > not. you'd then reduce the context switches and the overhead of > synchronize(). Context switches are not p

Re: [linux-audio-dev] oss driver for jack 0.90 rev3

2003-11-18 Thread Paul Davis
>On Tue, 2003-11-18 at 23:59, Paul Davis wrote: > >> > - Conditionally compiled two thread implementation for NPTL (possibly >> > also works with LinuxThreads, untested) >> >> would you mind explaining why you are using 2 threads? it seems >> pointless, but perhaps i'm missing something... > >On

Re: [linux-audio-dev] oss driver for jack 0.90 rev3

2003-11-18 Thread Jussi Laako
On Tue, 2003-11-18 at 23:59, Paul Davis wrote: > > - Conditionally compiled two thread implementation for NPTL (possibly > > also works with LinuxThreads, untested) > > would you mind explaining why you are using 2 threads? it seems > pointless, but perhaps i'm missing something... One is for

Re: [linux-audio-dev] oss driver for jack 0.90 rev3

2003-11-18 Thread Paul Davis
> - Conditionally compiled two thread implementation for NPTL (possibly > also works with LinuxThreads, untested) would you mind explaining why you are using 2 threads? it seems pointless, but perhaps i'm missing something...

[linux-audio-dev] oss driver for jack 0.90 rev3

2003-11-18 Thread Jussi Laako
Now the oss driver for jack 0.90 starts to shape up. This could be considered as alpha version. Changes: - Conditionally compiled two thread implementation for NPTL (possibly also works with LinuxThreads, untested) - Fixed a load of bugs This version has been tested with CMI8738, ENS1371 a