Unfortunately, the orders are still not being prepared in parallel. Here's how our thread from the previous task works.
It finds a cook, finds an order, gives the order to the cook using the startCookingOrder method, waits for the order to be prepared,
and only then moves on to the next order.
Restaurant (part 22)
- 32
Locked
Comments
- Popular
- New
- Old
You must be signed in to leave a comment
This page doesn't have any comments yet