Quantcast
Channel: Locks around memory manipulation via inline assembly - Stack Overflow
Browsing all 2 articles
Browse latest 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 all 2 articles
Browse latest View live




Latest Images