transactional memory in Parrot

2005-11-16 Thread Erik Paulson
Hello, As a class project, we're looking at transactional memory, and one of things we'd like to try and do is add some basic TM support to Parrot. To start out with, we'd add three new opcodes - one to begin, end, and abort the current transaction. the BeginTX op would save a continuation, ab

threads on Solaris aren't parallel?

2005-12-12 Thread Erik Paulson
Hi - I'm using an older version of Parrot (0.2.2) so I can use threads. It seems that Parrot on Solaris doesn't ever use more than one processor. The program attached should create argv[1] number of threads, and divide up over both of them argv[2] - ie perfect linear speedup. I've got a dual-pr

Re: threads on Solaris aren't parallel?

2005-12-13 Thread Erik Paulson
On Mon, Dec 12, 2005 at 10:28:31PM +0100, Leopold Toetsch wrote: > > On Dec 12, 2005, at 17:53, Erik Paulson wrote: > > >Hi - > > > >I'm using an older version of Parrot (0.2.2) so I can use threads. > > > >It seems that Parrot on Solaris