国产精品婷婷久久久久久,国产精品美女久久久浪潮av,草草国产,人妻精品久久无码专区精东影业

多線程程序設計在教學中的應用.doc

  
約32頁DOC格式手機打開展開

多線程程序設計在教學中的應用,multithreaded programming application in teaching摘要:處理器性能的提高,促使程序的設計從單一進程向多線程方向發(fā)展。與單線程相比,多線程可以使程序內部的不同部分并發(fā)運行,極大得提高了程序的整體效率。本論文展示了一個使用socket模塊編寫的聊天...
編號:30-480945大小:844.06K
分類: 論文>數(shù)學/物理論文

內容介紹

此文檔由會員 即刻啟程 發(fā)布

多線程程序設計在教學中的應用
Multithreaded Programming Application in Teaching



摘要:處理器性能的提高,促使程序的設計從單一進程向多線程方向發(fā)展。與單線程相比,多線程可以使程序內部的不同部分并發(fā)運行,極大得提高了程序的整體效率。本論文展示了一個使用Socket模塊編寫的聊天程序。基于多線程,在局域網中可以聊天或傳輸文件,兩個子功能可以同時工作,方便了課堂教學中文本以及數(shù)據的傳輸。
關鍵詞:Python Socket 多線程 通信

Multithreaded Programming Application in Teaching
Abstract:With the improvement of the performance of the CPU, the design of the program developed from a single thead to multithreading. Compared with a single thread, multithreading can make different parts within the program to run concurrently, greatly improved the overall efficiency of the program .This paper presents a chat program written by a Socket module based on multithreading, you can chat or transfer files in the LAN, and two child function can work at the same time. It is convenient for the transmission of the data and texts in the class.

Keywords:Python ; Socket ; Multithreaded programming ; Communications