• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Synchronization hardware in operating system

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello world!

I know that people here are very mush intelligent in Operating system, that's why I'm right here needing for your help, as I'm a nerbie.
I just wanna know a lot more(more than reading ebooks, etc) about synchronization hardware especially the critical section problem on how is it realted to it?

Thanks in advance
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JVMs usually use mutex that is provided by the OS to implement synchronization. How the OS implements mutex varies a lot. It depends on the OS itself and the Processor that it is built for. I am not an OS expert, but AFAIK, generally, most CPUs have specialized instructions for updating flags atomically. The OS usually uses that instruction.
 
reply
    Bookmark Topic Watch Topic
  • New Topic