[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Data Sharing Problem


topic: Re: Aliasing and Garbage Collection
> Andrew Cooke wrote:
> > [I'm confused what any of this has to do with Java threads - I don't
> > mind reading this stuff, but I apologise if it seems too off-topic for
> > others]

I think Andrew made a very good point.
  - Garbage Collection is a relatively uninteresting topic in the context
    of CSP.
  - "Data Sharing" is a problem in OO.
  - "Data Sharing" is NOT addressed adequately by "practical" CSP.

I suggest: focus on how to properly share data.

(People have suggested to use design patterns for this: Resource, Lock,
Bucket, ..., Transaction)