Multi-core CPUs - Synchronization Patterns as Classes?

Peter William Lount peter at smalltalk.org
Fri Oct 26 19:05:14 UTC 2007


Hi,

It seems that the "patterns" of synchronization in "The Little Book of 
Semaphores" are just that, patterns. Like other patterns they could be 
implemented as abstract and concrete classes so that rather than having 
to rewrite the solutions all over each time they are off the shelf and 
available for use. A class library of synchronization using semaphores 
might help with enabling people to leverage multi-threading with N-core 
cpus in Smalltalk (where N is greater than or equal to 1) and using 
green threads, native threads or both.

Just a thought.

Cheers,

peter

"The Little Book of Semaphores"
http://www.greenteapress.com/semaphores/downey05semaphores.pdf



More information about the Squeak-dev mailing list