Quantcast
Channel: Locks around memory manipulation via inline assembly - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Peter Cordes for Locks around memory manipulation via inline assembly

I think a simple spinlock that doesn't have any of the really major / obvious performance problems on x86 is something like this. Of course a real mutex implementation would use a system call (like...

View Article


Locks around memory manipulation via inline assembly

I am new to the low level stuff so I am completely oblivious of what kind of problems you might face down there and I am not even sure if I understand the term "atomic" right. Right now I am trying to...

View Article

Browsing latest articles
Browse All 2 View Live


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