hi,

I need to do the following:
Rail.asyncCopy(a, low, r, offsetlong - (high-low+1), high-low+1);
but both the source Rail (a) and the destination GlobalRail (r) contain 
objects. However, the doc states

"Warning: This method is only intended to be used on Rails containing 
non-Object data elements. The elements 
 are actually copied via an optimized DMA operation if available. 
Therefore object-references will not be properly 
 transferred. Ideally, future versions of the X10 type system would enable 
this restriction to be checked statically. "

How can I do the copy without using this method?


Thanks,
Judah Diament
IBM T.J. Watson Research Center
P.O. Box 704 Yorktown Heights, NY 10598, USA
914-784-7813 (TL: 863)

"Successful innovators use both the right and left sides of their brains. 
They look at figures. They look at people. They work out analytically what 
the innovation has to be to satisfy an opportunity. Then they go out and 
look at potential users to study their expectations, their values, and 
their needs."
-Peter F. Drucker
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to