stephane.ducasse at free.fr
Fri Jan 26 10:02:52 UTC 2007
I think that you are right.
I'm just totally extremely bad with concurrent programming (I always
deadlock myself) to help but
yes there is something there to do.
On 26 janv. 07, at 09:42, Göran Krampe wrote:
> Hi folks!
> I was googling for good concurrency classes for Java (cough)
> yesterday and
> discovered Doug Lea's util.concurrent
> (http://gee.cs.oswego.edu/dl/concurrency-interest/index.html) and
> the new
> java.util.concurrent in Java 1.5 resulting from Doug's work
> Now, this leads me to the question - how do we stack up in Squeak
> AFAIK we have this:
> 1. Semaphore - the basic building block.
> 2. Monitor - the new "better Semaphore", but on a higher level.
> 3. SharedQueue - a simple queue, has been improved relatively lately.
> 4. SharedBufferStream - a different implementation of SharedQueue
> that is
> more efficient and... well, a bit different. :) (my memory fails)
> 5. SharedBidirectionalStream - a combo of two SharedBufferStreams thus
> mimicking a SocketStream "in image" since it has two independent
> in both directions (like a SocketStream has). Quite fun to play
> with and
> useful for multiplexing (multiple Processes sharing a SocketStream)
> (The two last classes are available in SharedStreams available on SM
> Surely we have lots more spread out in various places?
> I know that most of the time we get by fine with Monitor and
> but some things that I feel are missing *and* would be useful is:
> - something for executing "tasks"
> - more concurrent Collections
> regards, Göran
More information about the Squeak-dev