Paul Davis wrote: > > >> I've spent some time to make a simple program to compare both approach. > > what is this program for? you're using multiple threads. i haven't > seen anyone suggest this. it has neither the benefits of the > multiprocess case nor the single-threaded case. i don't understand. It's a program to measure the actual cost of context switch (that AFAIK is equal for different thread or different processes). The same program may be written with shm and fork. However I cannot believe you don't see the benefits of a multithreaded approach: - big improvement for components that can run in parallel on SMP machines - greater crash safety -- Abramo Bagnara mailto:[EMAIL PROTECTED] Opera Unica Phone: +39.546.656023 Via Emilia Interna, 140 48014 Castel Bolognese (RA) - Italy ALSA project http://www.alsa-project.org It sounds good!
- [linux-audio-dev] Re: high level laaga Paul Davis
- [linux-audio-dev] Re: high level laaga Abramo Bagnara
- Re: [linux-audio-dev] Re: high level laaga Abramo Bagnara
- Re: [linux-audio-dev] Re: high level laaga Paul Davis
- [linux-audio-dev] costs of IPC Paul Davis
- [linux-audio-dev] Re: costs of IPC Abramo Bagnara
- [linux-audio-dev] Re: costs of IPC Paul Davis
- Re: [linux-audio-dev] Re: costs of IP... Abramo Bagnara
- Re: [linux-audio-dev] Re: costs of IP... Abramo Bagnara
- Re: [linux-audio-dev] Re: costs of IP... Paul Davis
- Re: [linux-audio-dev] Re: costs of IP... Abramo Bagnara
- Re: [linux-audio-dev] Re: costs of IP... Paul Davis
- Re: [linux-audio-dev] Re: costs of IP... Abramo Bagnara
- Re: [linux-audio-dev] Re: costs of IP... Paul Davis
- Re: [linux-audio-dev] Re: costs of IP... Abramo Bagnara
- Re: [linux-audio-dev] Re: costs of IP... Paul Davis
- Re: [linux-audio-dev] Re: costs of IP... Abramo Bagnara
- Re: [linux-audio-dev] Re: costs of IP... Paul Davis
- Re: [linux-audio-dev] Re: costs of IP... Abramo Bagnara
- Re: [linux-audio-dev] Re: costs of IP... Paul Davis
- Re: [linux-audio-dev] Re: costs of IP... Steve Harris
