Multithreading TestTask solution
Simple multithreading program imitating candy eating base with bunch of machines eating candies from queue.
- All candies have flavour
- No candies with the same flavour can be eaten at the same time
- All candyeaters can eat maximum of 1 candy at the same time
- Candies queue should preferably maintain the order
- Candies should be eaten by all the available eaters at the moment
- Candy eating process may take some time
- Candy eating process may cause an error