My One Slide PowerPoint PPT Presentation

presentation player overlay
1 / 3
About This Presentation
Transcript and Presenter's Notes

Title: My One Slide


1
My One Slide
2
Seriously, though
3
Preemptive threads
are difficult to reason about.
  • The idea
  • Compiler inserts guarded yield points
  • Runtime preempts by setting a flag
  • Loader can verify placement of yield points
  • Applications
  • Eliminate fine-grained locks (CCured, Java)
  • Can we design a thread system that uses only this
    mechanism for synchronization?
  • Key principle Compiler makes simplifying
    assumptions and tells runtime system!

Cooperative threads
might refuse to yield.
Semi-cooperative threads
offer the best of both worlds!
Write a Comment
User Comments (0)
About PowerShow.com