[Numpy-discussion] Fast threading solution thoughts

David Cournapeau david@ar.media.kyoto-u.ac...
Thu Feb 12 08:02:12 CST 2009


Matthieu Brucher wrote:
>> No - I have never seen deep explanation of the matlab model. The C api
>> is so small that it is hard to deduce anything from it (except that the
>> memory handling is not ref-counting-based, I don't know if it matters
>> for our discussion of speeding up ufunc). I would guess that since two
>> arrays cannot share data (COW-based), lock handling may be easier to
>> deal with ? I am not really familiar with multi-thread programming (my
>> only limited experience is for soft real-time programming for audio
>> processing, where the issues are totally different, since latency
>> matters as much if not more than throughput).
>>     
>
> It's not even a matter of multithread programming, in mono-core
> programming, the same issue can arise.
>   

Which issue ?

David


More information about the Numpy-discussion mailing list