Skip to content

pchenatwork/Dining-Philosophers

Repository files navigation

Dining-Philosophers

Classic Dining Philosophers

Point of Interest:

  1. IOutputter for multiple output form, implemented both ConsoleOutputter and Controller\EnumerableStringOutputter
  2. AbstractOutput implemented lock for one thread one writeline at a time. Console.WriteLine is threadsafe, but other writer might not be.
  3. PhilisopherFactory : FactoryBase Singleton generic factory pattern

About

Classic Dining Philosophers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published