Based on our class dicussion, provide a brief write-up on how you plan to solve {\bf efficiently}, the Pthread "termination" detection problem for your assignment 2.