Est. Budget: $100.00
The task is to write a simple producer-consumer example for some benchmarking that I'm doing in different languages. In this example, you'll use Ruby.
The benchmark should do the following:
* Start three threads
-- Thread #1 uses IO.popen to start a process that runs `ping google.com` indefinitely.
-- Thread #2 uses IO.popen to start a process that runs `ping yahoo.com` indefinitely.
-- Thread #3 consumes events from the other two (see below).
* When thread #1 or #2 ...