Concurrency.
Sean Kelly
sean at invisibleduck.org
Fri Dec 2 11:35:26 PST 2011
On Nov 30, 2011, at 5:41 PM, Andrei Alexandrescu wrote:
> On 11/30/11 5:04 PM, Sean Kelly wrote:
>> On Nov 28, 2011, at 3:48 AM, Debdatta wrote:
>>>
>>> In my (limited) experience, involving mostly threading for
>>> performance, sharing is the norm.( Take a look at .NET's task
>>> parallel library, or intel's TBB.)
>>
>> So is complexity and the propensity for deadlocks ;-)
>
> In fact there's a bit of confusion somewhere; in fork-join parallelism (.NET TPL, TBB) there is in fact very little sharing; individual threads work on disjoint data sets, and the join operation simply establishes checkpoints.
I suppose I should have read up a bit on TBB first. I'd assumed it was more of a classic multithreading library. My mistake.
More information about the Digitalmars-d
mailing list