--- June Kim <[EMAIL PROTECTED]> wrote:

> 2006/12/28, Oleg Kobchenko <[EMAIL PROTECTED]>:
> > Threads and GUI are tricky no matter what environment is used.
> > They need to be well understood in the context of the
> > framework (Java or .NET) and the underlying operating system.
> 
> Right. However, with right model, concurrency made the problem easier
> to solve than harder. For example, I like the message passing style a

... in a perfect world. So far I see the CSP as another complicated
abstraction layer. However, there may be a simple subset that can
be implemented in J.

> la CSP(JCSP in java, stackless python, Erlang and etc). Declarative
> concurrency is one more nice model.

I believe it was attempted earlier with Ada tasks.
It good to have some very simple use cases.

> > >From my recollection, in classic VB, threads were very hard
> > to implement and it had to be done manually calling the win32 API.
> > The same can be done in J.
> >
> > I would recommend exploring the possibility of creating a
> > new J instance in the same process and start an OS thread
> 
> Okay. What do you mean by creating a new J instance in the same process?

"call J DLL from initial J session"

See also
 - Calling J.DLL, User Manual
   http://www.jsoftware.com/help/user/calling_jdll.htm

 - [Jprogramming] C-code to process J array
   http://www.jsoftware.com/pipermail/programming/2006-November/004233.html

 - [Jprogramming] Parallel Processing Help
   http://www.jsoftware.com/pipermail/programming/2005-December/000608.html

 - Using Processes and Threads, MSDN
   http://msdn2.microsoft.com/en-us/library/ms686937.aspx

 - Using Synchronization, MSDN
   http://msdn2.microsoft.com/en-us/library/ms686967.aspx


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to