Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

RE: Here is an example of RX63N uart code ported to Synergy

$
0
0

Hello Karol:

"Poor mans mutex".  Since the Syngery processor is native 32 bit and you use a 32 bit variable aligned (default) on a 4 byte address all reads and writes to this variable should be one machine instruction.  Therefore it is impossible for another thread or any interrupt to corrupt the variable in the middle of a read or write making this variable inherently thread safe.

Regards,

Steve Dillier


Viewing all articles
Browse latest Browse all 5781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>