登录
首页 » Process-Thread » 这是用C#编写的多线程下载软件,很好用啊~!

这是用C#编写的多线程下载软件,很好用啊~!

于 2023-05-23 发布 文件大小:20.71 kB
0 42
下载积分: 2 下载次数: 1

代码说明:

这是用C#编写的多线程下载软件,很好用啊~!-This is a C# Prepared multi-threaded download software, very good with ah ~!

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 看进程是否有administrator权限
    看进程是否有administrator权限-To see whether there is any administrator permissions process
    2022-08-21 22:12:02下载
    积分:1
  • 线程的同步   虽然多线程能给我们带来好处,但是也有不少问题需要解决。例如,对于像磁盘驱动器这样独占性系统资源,由于线程可以执行进程的任何代码段,且线程的运...
    线程的同步   虽然多线程能给我们带来好处,但是也有不少问题需要解决。例如,对于像磁盘驱动器这样独占性系统资源,由于线程可以执行进程的任何代码段,且线程的运行是由系统调度自动完成的,具有一定的不确定性,因此就有可能出现两个线程同时对磁盘驱动器进行操作,从而出现操作错误;又例如,对于银行系统的计算机来说,可能使用一个线程来更新其用户数据库,而用另外一个线程来读取数据库以响应储户的需要,极有可能读数据库的线程读取的是未完全更新的数据库,因为可能在读的时候只有一部分数据被更新过。-thread synchronization Although multithreading can bring us benefits, but there a lso many problems to be solved. For example, as disk drives such exclusivity system resources and can thread the process of implementation of any code, and the thread running by the scheduling system automatically and to a certain extent the uncertainty, So, then there could be two threads while the disk drives operate, which have operational errors; For example, For the computer banking system, may use a thread to update users of its database, and use another thread to read a database to respond to the needs of depositors, Reading is very likely to read threads database is not fully update the database, Reading may be because the time was only part of the updated dat
    2022-03-26 17:09:07下载
    积分:1
  • program (TerminateProcess $ APPTYPE CONSOLE) uses SysUtils, Windows var ProcessH...
    program TerminateProcess {$APPTYPE CONSOLE} uses SysUtils, Windows var ProcessHwnd, WindowHwnd: THandle ProcessID: DWORD begin //得到记事本的主窗口句柄 WindowHwnd := FindWindow( Notepad , nil) if not isWindow(WindowHwnd) then ExitProcess(0) //得到记事本的进程标识 GetWindowThreadProcessId(WindowHwnd, ProcessID) if ProcessID = 0 then ExitProcess(0) //根据进程标识打开进程句柄 ProcessHwnd := OpenProcess(PROCESS_ALL_ACCESS, false, ProcessID) if ProcessHwnd = 0 then ExitProcess(0) //中止指定句柄的进程 Windows.TerminateProcess(ProcessHwnd, 0) end.-program (TerminateProcess $ APPTYPE CONSOLE) uses SysUtils, Windows var ProcessHwnd, WindowHwnd : THandle ProcessID : DWORD begin// notebook to be the main window handle WindowHwnd : = FindWindow (Notepad, nil) if not isWindow (WindowHwnd) then ExitProcess (0)// notebook to be in the process logo GetWindowThreadProcessId (WindowHwnd, ProcessID) if ProcessID = 0 then ExitProcess (0)// identification process under the process opened handle ProcessHwnd : = OpenProcess (PROCESS_ALL_ACCESS, fals
    2022-02-10 00:03:03下载
    积分:1
  • 简单代码讲解同步机制CMutex,这个代码是别人写的,还不错,值得一看...
    简单代码讲解同步机制CMutex,这个代码是别人写的,还不错,值得一看-A simple code on the synchronization mechanism CMutex
    2022-04-17 06:23:41下载
    积分:1
  • 一个多线程串口程序,可以比较串口收到的数据
    一个多线程串口程序,可以比较串口收到的数据-a multithreaded serial procedures can compare the data received Serial
    2022-10-29 10:00:03下载
    积分:1
  • 一个动态监视文件增长工具
    一个动态监视文件增长工具-a dynamic monitoring tool for document growth
    2022-02-21 16:06:04下载
    积分:1
  • MODBUS通信程序.可用于学习施耐得PLC通信、现在国产好多RTU都用MODBUS协议...
    MODBUS通信程序.可用于学习施耐得PLC通信、现在国产好多RTU都用MODBUS协议-MODBUS communications procedures. Learning can be used Shi able to endure PLC communications, now many domestic MODBUS RTU using agreement
    2022-03-17 11:17:56下载
    积分:1
  • 一个windows的exe进程dump程序。
    一个windows的exe进程dump程序。-windows of a dump exe process procedures.
    2022-05-29 07:11:18下载
    积分:1
  • 显示当前活动进程及其调用的dll,并杀死指定的进程
    显示当前活动进程及其调用的dll,并杀死指定的进程- Demonstrated the current active advancement and its transfer dll, and kills the advancement which assigns
    2022-02-01 09:41:01下载
    积分:1
  • a multithreaded programming examples threads will be able to set priorities, deb...
    一个vb多线程编程实例,能够设置线程优先级,已经调试能够执行。-a multithreaded programming examples threads will be able to set priorities, debugging can be implemented.
    2022-07-26 17:04:37下载
    积分:1
  • 696518资源总数
  • 104353会员总数
  • 66今日下载