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

Benjamin Flaming lad at solobanjo.com
Wed Apr 7 22:01:02 UTC 2004


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




More information about the Linux-audio-dev mailing list