A data sharing method that implements data tag to improve data sharing on a multi-computing-unit platform, wherein the multi-computing unit platform includes multiple cores, and multiple threads generating multiple critical sections on each core. When a first thread enters a first critical section to access a shared data, the shared data is temporarily stored in a first core, when the first thread leaves the first critical section, it transfers the control of the shared data to a second core that has higher transmission advantage.
展开▼