[Cs-dev] pthreads and perfThread
Date | 2014-11-05 19:08 |
From | Andres Cabrera |
Subject | [Cs-dev] pthreads and perfThread |
Attachments | None None |
Hi, I was thinking about the pthreads dependency for the perfThread class, which seems to have caused some issues. I'm using raw pthreads because I need a wait condition that is signalled to tell the audio file recording thread (yes, there is now an audio recording function that is part of perfthread :) ) that there is data available on the ring buffer:https://github.com/csound/csound/blob/develop/interfaces/csPerfThread.cpp#L126 https://github.com/csound/csound/blob/develop/include/csound.h#L1845 Cheers, Andrés |
Date | 2014-11-05 19:10 |
From | Oeyvind Brandtsegg |
Subject | Re: [Cs-dev] pthreads and perfThread |
could this be related to the multithread issue I reported today? 2014-11-05 20:08 GMT+01:00 Andres Cabrera |
Date | 2014-11-05 19:16 |
From | Rory Walsh |
Subject | Re: [Cs-dev] pthreads and perfThread |
Audio recording from the performance thread. Nice. On 5 November 2014 19:10, Oeyvind Brandtsegg |
Date | 2014-11-05 19:34 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] pthreads and perfThread |
Attachments | None None |
No, I think it isn't, are you using perfThread? (In any case, I can't see how my changes could affect the global API lock) Cheers,It's more related to Rory having to statically link pthreads (and some issues Steven had to fix on the build system to have the perfThread. Andrés On Wed, Nov 5, 2014 at 11:10 AM, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote: could this be related to the multithread issue I reported today? |