octave-maintainers
[Top][All Lists]
Advanced

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

Re: Changesets: Re: Parallel access to data created with Octave


From: Michael D. Godfrey
Subject: Re: Changesets: Re: Parallel access to data created with Octave
Date: Tue, 25 May 2010 11:25:22 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5

On 5/25/10 10:23 AM, Jaroslav Hajek wrote:
In the simplest setup, counter increments and decrements should be
decorated by #pragma omp atomic.
I think we could have a set of macros, similar to Py_INCREF et al, for
doing this.
This seems to be a useful first step (not a workaround!)
I do, however, think, that in order to make Octave multithreaded, we
would eventually need to implement some kind of global interpreter
lock, similar to what Python has. There are also open questions what
to do with things like the call stack or symbol table.

--
More thought needed for these, but it is time to start. :-)

A thread that works on a design document for the implementation might be useful...

Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]