(From CS110) Multithreaded News Aggregator ------------------------------------------ Want to explore what it might look like to write a "multithreaded program" - meaning a program that can perform multiple tasks simultaneously and synchronize between them? In CS110 you write a news aggregator program that crawls different sites on the web for the latest news. Instead of fetching and parsing each article one after the other, this program spawns many "threads", each of which is like a worker that can do one task. That way we can process many articles simultaneously! Here are some things you can check out in this folder: * the "aggregate_soln" executable is the news aggregator program. You can run it by specifying which URLs it should pull news articles from. Each .xml file is one set of links to pull from, so you can run the program like this: ./aggregate_soln --url medium-feed.xml * If you want to see a log of what the program is doing, try adding the -v flag (for "verbose"): ./aggregate_soln --url medium-feed.xml -v * Once the program finishes parsing all articles, you can enter search terms to pull up relevant news articles. * For more information on this assignment, check out https://web.stanford.edu/class/archive/cs/cs110/cs110.1204/assign5/ -------- News Aggregator resources, including executable, test files, and assignment spec, are taken from the CS110 course materials at cs110.stanford.edu and /usr/class/cs110.