[PD] pd~ bugfixes - need some help

Lucas Cordiviola lucarda27 at hotmail.com
Mon Apr 9 01:48:56 CEST 2018


How about passing messages through netsend/netreceive?



--

Mensaje telepatico asistido por maquinas.

On 4/8/2018 12:13 PM, Christof Ressi wrote:
> Unfortunately, the deadlock can also happen if you send too many messages to or from the subprocess!
>
> I found an article explaining the issue: https://blogs.msdn.microsoft.com/oldnewthing/20110707-00/?p=10223
>
> they suggest to use seperate threads for reading and writing. Others are welcome to clone the branch and try out solutions :-)
>
>> Gesendet: Sonntag, 08. April 2018 um 14:10 Uhr
>> Von: "Christof Ressi" <christof.ressi at gmx.at>
>> An: "Lucas Cordiviola" <lucarda27 at hotmail.com>
>> Cc: Pd-List <pd-list at lists.iem.at>
>> Betreff: Re: [PD] pd~ bugfixes - need some help
>>
>> thanks for reporting!
>>
>>> When you say "ignore audio API in sys_loadpreferences when an external
>>> scheduler is used":
>>>
>>> This will still work when using an "external scheduler" ?
>>>
>>> It will work using Pdvst~ right?
>> I'm not sure what you mean here but currently the "-schedlib" flag already sets the audio api to 0 in sys_argparse (which is called after sys_loadpreferences) so AFAICT there shouldn't be any difference anyway.
>>
>>
>>> Gesendet: Sonntag, 08. April 2018 um 04:47 Uhr
>>> Von: "Lucas Cordiviola" <lucarda27 at hotmail.com>
>>> An: "Christof Ressi" <christof.ressi at gmx.at>, Pd-List <pd-list at lists.iem.at>
>>> Betreff: Re: [PD] pd~ bugfixes - need some help
>>>
>>> On win8.1 I get roughly the same limit of 202.
>>>
>>> On Ubuntu16.04 the limit is around 180.
>>>
>>>
>>> Some question on this PR:
>>>
>>> When you say "ignore audio API in sys_loadpreferences when an external
>>> scheduler is used":
>>>
>>> This will still work when using an "external scheduler" ?
>>>
>>> It will work using Pdvst~ right?
>>>
>>>
>>> --
>>>
>>> Mensaje telepatico asistido por maquinas.
>>>
>>> On 4/7/2018 9:48 PM, Christof Ressi wrote:
>>>> I'm working on a couple of bugfixes for pd~: https://github.com/pure-data/pure-data/pull/349
>>>>
>>>> I hit a wall with a bug where opening a subprocess with a large -fifo size will stall both processes (they seem to wait for each other forever). can someone confirm this issue? and if yes, on which system and at which fifo size does it happen?
>>>>
>>>> Christof
>>>>
>>>> _______________________________________________
>>>> Pd-list at lists.iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list



More information about the Pd-list mailing list