1. Multithreading Systems by Leveraging Graph Theory