Menu

#133 Data race on ARM multicore

5.0
open
nobody
None
5
2014-09-23
2014-09-23
No

I'm using STLPort on a DualCore CortexA9 ARM CPU with WinCE Compact 7.
I realized that the original version of STLPort lacks support for
ARM multicore platforms causing random crashes.

I propose to use _Atomic_swap to revert the lock back to 0 for platforms
where no explicit memory barrier mechanism is supported.

So the OS/Runtime Libs will take care of the instruction synchronisation.

Best regards,
Manuel

1 Attachments

Discussion


Log in to post a comment.