搜索资源列表
czxt_1
- 基于dos的多任务系统的实现 通过对线程的创建和撤销,cpu的调度,同步机制,通信机制的实现.-based multi-tasking system of the threads through the creation and withdrawn, cpu scheduling, synchronization mechanisms, communication mechanisms to achieve.
用线程做一个生产者-消费者同步问题
- 用线程做一个生产者-消费者同步问题 其实我是想用线程做一个生产者-消费者同步问题,现在已经成功了,贴出来,大家请指证. 我想让线程thread1和thread2按顺序显示,于是加了个信号量mysem,并且在新建两个线程的两个函数中进行P,V操作,来控制先后显示顺序-threads do with a producer-consumer Synchronization I actually want to do with threaded a producer-consumer synchroni
同步套接字监听
- 使用同步套接字服务器的主机解析、主机绑定、端口监听、数据传输和数据接收等功能来实现电脑之间的通讯图的左边显示了...本文使用了一个线程来接收用户的网络通讯信息和监听端口的服务。-use synchronization socket server host parsing mainframe bundled, port monitoring, data transmission and data reception capabilities to achieve communication be
writer_reader
- 经典的读者写者问题。设计读写线程,实现对同一文件的读和写的同步。 1.一个线程在写时,其他线程不允许写。 2.一个线程在写时,其他线程不允许读。 3.一个线程在读时,其他线程不允许写。 4.一个线程在读时,其他线程允许读。 -readers to write the classic problem. Design literacy threads, to achieve the same document simultaneously read and write. 1
Threading
- 此示例演示下面的线程处理技术。有关更多信息,请参见线程处理创建、启动和终止线程使用线程池线程同步和互交-This example demonstrated the following thread processing technology. For more information, please see threads creation, initiation and termination of the use of threads thread pool thread synchroni
Monitor
- 本示例说明如何使用 Monitor 类进行线程同步。Monitor 类型的静态函数用于强行相互实施对受保护代码块的独占访问权。
ThreadSync
- 一个用c#编写的关于多线程同步的源代码,供大家学习参考。
copy函数
- 在WINDOWS下进行网络服务端程序开发,毫无疑问,Winsock 完成端口模型是最高效的。Winsock的完成端口模型借助Widnows的重叠IO和完成端口来实现,完成端口模型懂了之后是比较简单的,但是要想掌握Winsock完成端口模型,需要对WINDOWS下的线程、线程同步,Winsock API以及WINDOWS IO机制有一定的了解。如果不了解,推荐几本书:《Inside Windows 2000,《WINDOWS核心编程》,《WIN32多线程程序设计》、《WINDOWS网络编程技术》。
Code
- 事件内核对象、关键代码段(临界区)的讲解,以及在多线程同步中的应用。在Windows下编写基于消息的网络应用程序,掌握阻塞与非阻塞网络程序的编写,理解在Windows平台下,采用异步选择机制可以提高网络应用程序的性能。-Event kernel object, the key to the code segment (critical zone) explain, as well as the synchronization of multi-threaded applications. Pre
CSHarpThreadProgramming
- C#线程同步 C#线程同步,谢谢大家的支持!-C Sharp Thread Synchronization C Sharp Thread Synchronization C Sharp thread synchronization, I would like to thank everyone support!
TextFileDealer
- 使用C#进行文件操作,可以直接将文件读到List<string>当中-file manipulate using C#,putting a text file in to a List<string>
dgegc
- 通过实现经典的读者写者问题,巩固对线程及其同步机制的学习效果,加深对相关基本概念的理解,并学习如何将基本原理和实际设计有机的结合-Through the realization of the classical problem of the readers to write, to consolidate on the threads and synchronization mechanisms of learning and deepen the understanding of basic
1
- c#数据同步,运用两个线程,将两个线程的数据进行同步-c# data synchronization, using two threads, two threads of data synchronization
MoveDisk_0.4
- C# 写的一个文件同步小程序,使用到了异步委托调用程序,多线程编程,文件操作,比较适合参考。。有收藏价值-C# written in a file synchronization applet to use asynchronous delegate calls to the program, multi-threaded programming, file operations, more suitable for reference. . There is value to the coll
ThreadPrint
- 本实验通过设计两个线程,一个是文章下载用C#实现的多线程同步打印文章(windows操作系统实验).线程和一个文章打印线程,用来实现模拟线程同步打印机,文章下载线程实现把文章下载到缓冲区,文章打印线程实现把文章打印出来。-Using C sharp to achieve multithread and synchronize.In the project,build up a Thread to download article,and build up the other Thread to
CSharp_Thread_Src
- 以CSharp实现多线程采集程序,包括读/写功能及线程间的同步问题,编写软件有此功能需求者是不错的范例。-To CSharp multi threaded collection procedures, including the read/write functions and synchronization between threads, this function needs to write software with an example of those who are good.
CSharp-thread
- 对于整数数据类型的简单操作,可以用  Interlocked  类的成员来实现线程同步,存在于  System.Threading  命名空 间。Interlocked类有以下方法:Increment  ,  Decrement  ,  Exchange  和  CompareExchange  。使用  Increment  和  Decrement  可以保证对
ThreadBar
- 三个进度条,通过对三个线程同步调用,以不同的速度填充进度条-Multithreaded progress bar
Multithreading in C# 5.0 Cookbook
- C#多线程编程实战 目录 第1章 线程基础 第2章 线程同步 第3章 使用线程池 第4章 使用任务并行库 第5章 使用C# 5.0 第6章 使用并发集合 第7章 使用PLINQ 第8章 使用Reactive Extensions 第9章 使用异步I/O 第10章 并行编程模式 第11章 更多信息(C# multi thread programming real war directory The first chapter thread base Sec
RecData
- 多串口采集数据存储数据库。线程同步和异步传输。(Multi-serial port data acquisition)