You can try to write a wrapper for the array that it aware of concurrency.

Reply via email to