Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,768 of 2,753    |
|    Arnab De to All    |
|    compiling locks/ monitors    |
|    11 Nov 09 06:08:47    |
      From: arnabde03@gmail.com              Many modern high level languages like Java/ C# have locks/ monitors as       language level features. Hardwares typically have lower level       synchronization primitives like CAS. One can implement a spinlock       using CAS, but it is bad for performance as it busy-waits for the lock       to be released. Can anyone tell me how these locks/monitors are       typically and efficiently compiled? Can you cite any paper on this?              Thanks in advance,       Arnab              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca