Re: [linux-audio-dev] Thread programming issues, hints and links wanted

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Thread programming issues, hints and links wanted
From: Benjamin Flaming (lad_AT_solobanjo.com)
Date: Thu Apr 08 2004 - 01:01:02 EEST


On Wednesday 07 April 2004 02:18 pm, Cournapeau David wrote:
> Hi there,
>
> Beginning to play with some code in linux plateform for audio, I
> face a major problem: I have a very weak understanding of thread
> programming. I know the basic concepts (thread principle, mutex and
> lock), but fail to use them effectively. I found a lot of links on
> thread programming, but it is just about the API (generally pthread),
> and the examples are really trivial in general. When I looked at the
> archive, I see a lot of terms which I don't really understand, like
> watchdog thread, thread scheduling, and I am lost :(
> So does anybody know a good and deep online ressource about thread
> programming ? Also, my main language is C++, and I looked a bit at boost
> library. It should be kind of a detail, but are there deep differences
> between pthread and boost.threads ?

     I'm no expert, but I found capture_client.c in the example-clients/
directory of the JACK source code to be a very good practical example. I
learned a lot from examining it.

|)
|)enji


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Apr 08 2004 - 01:55:25 EEST