操作系统的设计,可以归结为三点:
- 以多进程形式,允许多个任务同时运行;
- 以多线程形式,允许将单个任务分成多个子任务运行;
- 提供协调机制,一方面防止进程之间和线程之间产生冲突,另一方面允许进程之间和线程之间共享资源。
本章主要介绍在 Python 中如何进行进程和线程编程等,主要有以下几个方面:
GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — explore-python/Process-Thread-Coroutine at master · redention/explore-python Expand file tree/ Copy pathProcess-Thread-Coroutine/Directory actionsMore optionsMore optionsDirectory actionsMore optionsMore options |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |