Skip to content

Restaurant producer consumer model #1

@barrybecker4

Description

@barrybecker4

In com.barrybecker4.experiments.restaurant, there is a single chef and single waiter.
It would be much more interesting if we could simulate C chefs, W waiters, F initial amount of food.
Waiters will request and retrieve orders, while chefs will prepare the orders in the Kitchen. We will need a queue to hold the requests and probably a set to hold the completed orders ready for pickup.
Each waiter and chef should operate in their own thread.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions