CMSC 335 Spin Locks Known as A Low Level Synchronization Discussion
Question Description
I’m working on a computer science discussion question and need an explanation and answer to help me learn.
- take one of the topics in the readings,
- find a reference outside our readings talking about that topic
- cite your reference
- tell us a little about how the two presentations relate to each other
- tell us what you have learned about that topic from your readings
Some suggested topics:
- Spin locks
- Atomic read/write operations vs the real world
- Sequentially consistent memory
- Memory barrier instructions
- Test and set locks: getAndSet (), compareAndSet ()
- Monitors, locks, conditions
- Locked queue
- Lost wake up events
- Readers writers locks
- Reentrant locks
- Semaphores
- Threads – creating and running them
- Thread structure of the JVM and the Java GUI classes
- Race conditions and deadlocks
- Writing a concurrent program
- condition variables
- producer-consumer problem
- finding objects
- active, passive, and control objects
Following are good examples, in addition to what is provided in the course shell.
https://docs.oracle.com/javase/tutorial/essential/concurrency/
http://winterbe.com/posts/2015/04/07/java8-concurrency-tutorial-thread-executor-examples/
http://www.vogella.com/tutorials/JavaConcurrency/article.html
http://tutorials.jenkov.com/java-concurrency/index.html
http://tutorials.jenkov.com/java-concurrency/index.html
https://www.tutorialspoint.com/java_concurrency/index.htm
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."