/SockMatching

Practicing parallel and understanding concepts.

Primary LanguageJava

Sock Matching

Four threads make a random number of socks(1-100) Each sock thread produces one of four colors Orange, Blue, Green, and Red. These are passed onto a single matching thread which finds a pair and send them to the washer thread to destroy.