[PD-dev] Re: [PD-dev] Re: [PD-dev] buffer resizing

Thomas Grill t.grill at gmx.net
Mon Apr 7 19:04:17 CEST 2003


Am Montag, 07.04.03, um 18:11 Uhr (Europe/Vienna) schrieb Frank 
Barknecht:

> Hallo,
> Thomas Grill hat gesagt: // Thomas Grill wrote:
>
>> as PD is largely not thread-safe, you can only do that if it doesn't
>> interfere with the operation of PD.  e.g. a patch may be accessing
>> the buffer as well etc.
>
> BTW, Thomas: Do you have a simple example about how to check for the
> cleanness of the flext::buffer in the dsp-function? I.e. if is it
> still there?

Yes, check out the xsample cvs version, main.cpp, function bufchk, line 
81
Should be easy to comprehend ;-)

best greetings,
Thomas





More information about the Pd-dev mailing list