My One Slide - PowerPoint PPT Presentation

1 / 3
About This Presentation
Title:

My One Slide

Description:

Runtime preempts by setting a flag. Loader can verify placement ... Eliminate fine-grained locks (CCured, Java) Can we design a thread system that uses only this ... – PowerPoint PPT presentation

Number of Views:69
Avg rating:3.0/5.0
Slides: 4
Provided by: jeremy150
Category:
Tags: madness | one

less

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