libretto.examples.diningPhilosophers

Type members

Classlikes

object DiningPhilosophers extends StarterApp
trait Forks
object ForksProvider extends Forks

Implements Forks. Internally, it represents a fork as a lock from the core library. (Note that the Lock from the core library is not a primitive itself, but is implemented using other primitives. Racing plays a key role in that implementation.)

Implements Forks. Internally, it represents a fork as a lock from the core library. (Note that the Lock from the core library is not a primitive itself, but is implemented using other primitives. Racing plays a key role in that implementation.)

Companion
class
class Philosophers[ForksImpl <: Forks](val forks: ForksImpl)
Companion
object