>> I am trying to code my application to benefit from
>> running on a parallel machine but it is not any faster.
[quoted text clipped - 10 lines]
> synchronized. The toArray method would get very confused if
> the Vector were to change while it is running.
Yes, I meant: Is access to the array after this call synchronized? I doubt
it but thought I would check.
> You can get more explicit control over synchronization by
> using ArrayList instead of Vector, but you still need to
[quoted text clipped - 3 lines]
> parallelism. Can you split your data up, and have threads
> specialize in data slices?
This is what I am trying to do :o)
Allan
Patricia Shanahan - 31 May 2005 11:46 GMT
>>> I am trying to code my application to benefit from
>>> running on a parallel machine but it is not any
[quoted text clipped - 14 lines]
> Yes, I meant: Is access to the array after this call
> synchronized? I doubt it but thought I would check.
Accesses to the array will be synchronized if, and only if,
they occur in a synchronized context.
Patricia
Allan Bruce - 31 May 2005 13:27 GMT
>>>> I am trying to code my application to benefit from running on a
>>>> parallel machine but it is not any
[quoted text clipped - 19 lines]
>
> Patricia
Thats what I thought, thanks!
Allan