Combine Multi-Threading Application with Event-Driven Model
PART1:BACKGROUNDInthepastcoupleofmonths,Idedicatedondevelopingamulti-threadingapplication,whichheavilyreliedonthreadcooperation.Forasignificantperiodthespaghetticodeistotallyembarrassing,thethreadcont