资 源 简 介
实现了一个功能简单的HTTP代理服务器,本章主要介绍多线程编程相关的知识,包括初始化临界段和删除临界段,使用临界段完成多个线程对临界资源的互斥访问,创建工作线程,退出工作线程,定义和设定事件,利用事件完成多个线程的同步与协作等。-achieved a simple function of the HTTP proxy server, this chapter introduces multi-threaded programming related knowledge, including initialization of critical and delete critical of the use of the completion of a number of critical thread on the critical resources of the exclusive visit, work to create threads, threads from work, definitions and setting events using multiple threads completed the synchronization and collaboration.