
Multithreading 是一种计算机编程技术,指在同一程序中同时运行多个线程(thread),以提高程序的执行效率和响应速度。每个线程可以独立执行不同的任务,但共享同一进程的资源。
/ml.tiθrd./
Multithreading allows the application to handle multiple user requests at the same time.
多线程技术使应用程序能够同时处理多个用户请求。
By implementing multithreading in the server architecture, the development team significantly reduced response latency and improved the overall throughput of the system under heavy load.
通过在服务器架构中实现多线程,开发团队显著降低了响应延迟,并在高负载条件下大幅提升了系统的整体吞吐量。
multithreading 由两个部分组成:multi- 来自拉丁语 multus,意为"多的、许多的";threading 来自英语 thread(线程),原意为"线、丝线",在计算机科学中被引申为"执行线程",即程序中一条独立的执行路径。该词大约在20世纪60至70年代随着操作系统和并发计算技术的发展而出现,用于描述一个进程内同时执行多条线程的能力。