Question about parallel each (IÏ)
3 posts
• Page 1 of 1
Question about parallel each (IÏ)
In a )CLEAR WS if I do the following with version 16.0.30848 (Unicode 32 Bits):
Is there is some limitation in passing a .Net object while using parallel each ?
Thanks in advance,
)load isolate
C:\Program Files (x86)\Dyalog\Dyalog APL 16.0 Unicode\ws\isolate.dws saved Wed Jun 28 11:13:34 2017
⎕using←'System,mscorlib.dll'
dt←10⍴⎕new DateTime ⎕ts
{⍵.Day}¨ dt ⍝ This is working as expected
27 27 27 27 27 27 27 27 27 27
{w.Day}IÏ dt ⍝ This is not working
FUTURE ERROR: 6: VALUE ERROR: {w.Day}
{w.Day}IÏ dt
∧
Is there is some limitation in passing a .Net object while using parallel each ?
Thanks in advance,
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: Question about parallel each (IÏ)
PGilbert wrote:Is there is some limitation in passing a .Net object while using parallel each ?
Hi Pierre,
It is not possible to pass objects of any kind to an isolate, as it is running in a separate process (it might even be on a different machine). No .Net objects and also no COM, GUI or APL-based objects.
Sorry about that!
Morten
-
Morten|Dyalog - Posts: 453
- Joined: Tue Sep 09, 2008 3:52 pm
Re: Question about parallel each (IÏ)
Thanks for the answer Morten.
-
PGilbert - Posts: 436
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group