Oleg Kobchenko wrote:
> Because J instance is not re-enterable from
> different threads, as shown, we need different J
> instances, one per thread.

Agreed.

> To start a thread, we need a callback: different
> callbacks (call addresses) for different thread-instances.

I disagree.

To start a new thread in an existing process, something
like this might be necessary.  However, I believe J
currently is designed around 1 J thread per process.
I believe that many aspects of the existing J implementations
depend on this design.

Thus, to start a new J thread (control stack), you need
to start a J instance, which in turn means starting a
new process (independent writable virtual memory representation
of the machine).

-- 
Raul

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to