Hi!
On Wed, Jul 12, 2006 at 10:20:40AM +0200, Andy Wingo wrote:
> On Wed, 2006-07-12 at 00:26 +0200, Stefan Westerfeld wrote:
> > I wrote a
> > little test which repeatedly switches between two threads, which wakeup
> > eachother using a pipe, cond or semaphore.
>
> Nice :) Can you upload it s
On Wed, 2006-07-12 at 23:43 +0200, jaromil wrote:
> > i think mostly because in 2000-2001, they were very slow.
>
> IMHO they are still slow, especially when you port software to OSX then
> pthreads and semaphores are *very* slow (well, it depends how much and
> where you use them of course).
OS
On Wed, 2006-07-12 at 23:43 +0200, jaromil wrote:
> my solution so far is assuming that boolean is atomical.
> all multi threaded handling i wrote is based on this assumption: i use
> it in pipe and linklist classes, but semaphores could also be there.
>
> i found no probems and good speed so far
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tue, Jul 11, 2006 at 05:10:27PM -0400, Paul Davis wrote:
> On Tue, 2006-07-11 at 17:06 -0400, Dave Robillard wrote:
> > Semaphores seem about perfect for this to me.. am I missing something?
> > Why doesn't anyone ever recommend them?
>
> i think m
Dave Robillard wrote:
> realtime thread is pretty sketchy...). Pipes let you communicate
> between processes though - I havn't tried the fancier POSIX interprocess
> stuff yet.
What do you mean by semaphore then, if not sem_*()?
sem_post(3)/sem_wait(3) are defined in POSIX realtime extensions (li
Hi,
Are there any people on this list who would be able to help test a Linux
ALSA driver for the EMU1212m.
I am now in a position to write a driver that works for this sound card.
I currently have SPDIF output working, but other support will follow
soon after that.
I do not have an AudioDock o
On 7/11/06, Stefan Westerfeld <[EMAIL PROTECTED]> wrote:
Since we've been comparing different methods here, I thought I might as
well write a benchmark, to look at the performance, too. I wrote a
little test which repeatedly switches between two threads, which wakeup
eachother using a pipe, cond
Hi Stefan,
On Wed, 2006-07-12 at 00:26 +0200, Stefan Westerfeld wrote:
> I wrote a
> little test which repeatedly switches between two threads, which wakeup
> eachother using a pipe, cond or semaphore.
Nice :) Can you upload it somewhere?
Cheers,
--
Andy Wingo
http://wingolog.org/