Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - threads
Search - threads - List
FTP服务器, 参考Server U的命令, 用多线程, 但没用完成端口, 上传下载都有速度控制, 权限控制调用接口-FTP server, the reference Server U orders using multiple threads, but useless completed ports, Upload have download speed control, access control Call Interface
Update : 2024-05-18 Size : 319488 Publisher : ZXZ

本章讨论与智能客户端应用程序中多线程的使用有关的问题。为了最大限度地提高智能客户端应用程序的响应能力,需要仔细考虑如何和何时使用多线程。线程可以大大提高应用程序的可用性和性能,但是当您确定它们将如何与用户界面交互时,需要对其进行非常仔细的考虑。-discussed in this chapter and Smart Client Application Program multithreading in the use of the problem. In order to improve the smart client application's response capability needs to carefully consider how and when to use multithreading. Threads can greatly increase application availability and performance, But when you identify how they would interface with the user interaction, the need for their very careful consideration.
Update : 2024-05-18 Size : 50176 Publisher : hs

Socket异步通信,线程,双端队列示程序代码: 1.正确的开始和终止线程 2.可以局域网内多人聊天 3.双端队列的设计和应用 -Socket asynchronous communication, thread, double-teams listed in the program code : 1. correct start and termination of two threads. can chat over LAN 3. Double-cohort design and application
Update : 2024-05-18 Size : 251904 Publisher : zwwr

LINUX的进阶编程书籍,包括线程,进程等,有深入浅出的示例,推荐-LINUX Advanced Programming books, including threads, processes, a simple example, the recommendation
Update : 2024-05-18 Size : 6234112 Publisher : 文心

DL : 0
本教程研究了java中的线程。什么是线程,线程为什么有用,怎样编写线程以及一些线程的高级应用。-version of the java threads. What is the thread, thread Why is useful, how to prepare some thread and the thread advanced applications.
Update : 2024-05-18 Size : 237568 Publisher : supermask

DL : 0
通过两个信号量来实现两个线程间的同步,完成了互斥功能.-through two signals to achieve volume between the two threads simultaneously, and completed the mutex function.
Update : 2024-05-18 Size : 1024 Publisher : baiyu

假定你需要你的程序能够停止线程,你需要一个告诉线程何时停止的方法,这个可以实现。-assume you need you can stop the process threads, you need a thread when told to stop, this can be achieved.
Update : 2024-05-18 Size : 53248 Publisher : dynam

线程的创建、销毁和调度本身是有代价的,如果一个线程的任务相对简单,那这些时间和空间开销就不容忽视了,此时用线程池就是更好的选择,即创建一些线程然后反复利用它们,而不是在完成单个任务后就结束。-thread creation, destruction and scheduling itself is a cost, if the threads of a relatively simple task. That time and space costs can not be ignored, this time using thread pool is the better choice, namely, the creation of some thread then reuse them, rather than individual tasks completed after the end.
Update : 2024-05-18 Size : 53248 Publisher : 邱中天

Linux共享内存share memory通信机制的内核实现,可以为内核线程间通信提供机制-Linux shared memory communication mechanism share memory kernel realized, kernel threads can provide the mechanism for communication
Update : 2024-05-18 Size : 7168 Publisher : 威尼

[代码说明] WINDOWS下的SetTimer API可以设置定时器,不过该API只能用在GUI程序中。 我这里为CONSOLE程序实现一个定时器。 开启2个线程: 定时:一个线程定时发送一个消息 处理:一个线程收到消息后处理这个消息 关注点: 为没有窗口的线程实现了消息循环-[Note code] under the SetTimer Windows API can set timer, However, the API can only use the GUI process. I am here to CONSOLE program a timer. Opened two threads : Timing : Timing a thread Send a Message Handling : a thread processing information received after the news of concern : no window to the thread of the news cycle
Update : 2024-05-18 Size : 4096 Publisher : sxg

线程同步是一个非常大的话题,包括方方面面的内容。从大的方面讲,线程的同步可分用户模式的线程同步和内核对象的线程同步两大类。用 户模式中线程的同步方法主要有原子访问和临界区等方法。其特点是同步速度特别快,适合于对线程运行速度有严格要求的场合。 在MFC中封装了CCritionSection等对象可以对共享资源进行锁定 -thread synchronization is a very big issues, including all aspects of the content. From the side, thread synchronization can be divided into user mode and kernel threads simultaneously targeting two types of thread synchronization. User mode thread synchronization method main atomic visit and the critical areas were used. Its characteristics are synchronous speed faster suited to the thread running speed strict requirements of the occasion. Packaging in the MFC CCritionSection and other objects can share resources lock
Update : 2024-05-18 Size : 1024 Publisher : lst

线程的同步   虽然多线程能给我们带来好处,但是也有不少问题需要解决。例如,对于像磁盘驱动器这样独占性系统资源,由于线程可以执行进程的任何代码段,且线程的运行是由系统调度自动完成的,具有一定的不确定性,因此就有可能出现两个线程同时对磁盘驱动器进行操作,从而出现操作错误;又例如,对于银行系统的计算机来说,可能使用一个线程来更新其用户数据库,而用另外一个线程来读取数据库以响应储户的需要,极有可能读数据库的线程读取的是未完全更新的数据库,因为可能在读的时候只有一部分数据被更新过。-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 data.
Update : 2024-05-18 Size : 22528 Publisher : 苏艳芳

DL : 0
哲学家进餐问题,进程是独立参与分配资源的最小单位,在有线程的OS中,线程是运行的最小单位, 课堂所述进程之间的同步与互斥,实际上是属于不同进程的线程间的同步与互斥,当 然,属于同一进程的不同线程一样存在同步与互斥,其控制同步与互斥的原理跟进程 是一样的-dining philosophers problem, the process is independent participation in the allocation of resources as the smallest unit, in the OS thread, thread is the smallest unit of operation, the process described in the classroom between the synchronization and mutual exclusion. actually belong to different threads in the process of synchronization and mutual exclusion, of course, the same process there is a different thread synchronization and mutual exclusion, control and coordinate the process with the principle of the same
Update : 2024-05-18 Size : 1024 Publisher : 李明

DL : 0
用pthread_t创建由标准输入端输入个数N的N个线程,分别计算各自的结果,再返回给主进程.-pthread_t created with input from the standard input of the number N of N threads, calculate their results and then back to the main process.
Update : 2024-05-18 Size : 1024 Publisher :

MFC中有两类线程,分别称之为工作者线程和用户界面线程。二者的主要区别在于人工辅助线程没有消息循环,而用户界面线程有自己的消息队列和消息循环-MFC there are two types of thread, thread workers were called and the user interface thread. The main difference between the two is artificial threads no news cycle, and the user interface thread has its own message queue and the news cycle
Update : 2024-05-18 Size : 24576 Publisher : gfgrg

车牌号选号程序。如何使用事件对象的方法来实现线程间的通信技术-plates, random selection procedures. How to use the incident targeting methods to achieve the threads of communications technology
Update : 2024-05-18 Size : 35840 Publisher : vivi

Delphi版的邮箱搜索程序源代码,功能如下: 可以在因特网上自动搜索邮箱 支持vbscript和javascript脚本语法 允许微调线路设置 允许代理设置/搜索层数设置/工作线程数设-Delphi version of the mail source code search procedures, functions as follows : on the Internet can automatically search and mail support vbscript script syntax allows javascript fine-tuning lines set up to allow Proxy Settings/Search floors set up/set up a few threads
Update : 2024-05-18 Size : 253952 Publisher : 李伟

UNIX下的threat源程序文件,可以很好学习线程概念-under the threat of UNIX source code file, you can study the concept of threads
Update : 2024-05-18 Size : 31744 Publisher : 谢文生

真正的线程驱动socket-real drive socket threads
Update : 2024-05-18 Size : 9216 Publisher : li

DL : 0
一个Java应用程序,在程序 中实现对线程的挂起、恢复和终止等操作。 -a Java application, in the process of achieving the right threads hang, recovery and termination of operation.
Update : 2024-05-18 Size : 1024 Publisher : wangxl
« 1 2 ... 43 44 45 46 47 4849 50 »
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.