Hi,
How should I do to make an array accessible by two logical cores. One core write to the array. The other only read to it.
Is it possible to access global array by 2 Cores? Topic is solved
-
- Newbie
- Posts: 1
- Joined: Sun Jan 05, 2014 3:40 am
-
- XCore Expert
- Posts: 589
- Joined: Wed Feb 29, 2012 10:03 am
It is not possible to share the same memory between two logical cores at the same time. However, you can access this memory by using double buffering. You can also use locks that are available in the XCore to safely access the memory. You will find more information about the locks in the following link:
https://www.xmos.com/en/support/documen ... ks_example
https://www.xmos.com/en/support/documen ... ks_example