This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Synchronization hardware in operating system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Synchronization hardware in operating system" Watch "Synchronization hardware in operating system" New topic
Author

Synchronization hardware in operating system

Juran Novarski
Greenhorn

Joined: Jan 03, 2013
Posts: 5
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
Jayesh A Lalwani
Saloon Keeper

Joined: Jan 17, 2008
Posts: 2682
    
  31

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Synchronization hardware in operating system
 
It's not a secret anymore!