搜索资源列表
Linux下的读者写者 xx
- 在Linux下实现读者写者的问题,采用的是多线程的方法-under Linux readers to write to the problem, using a multi-threaded approach
实例50-多线程telnet服务
- 多线程登陆TELNET要求服务,可以体现LINUX的风格,体现多线程的优点-multithreading landing TELNET services requested can be manifested LINUX style embodies the advantages of multi-threading
p_c.win-linux
- 基于进程与共享主存实现的生产者消费者问题(Windows/Linux)。与网络上可以下载到的大多数生产者消费者问题模拟程序不同,本程序使用进程(而非线程)模拟,基于共享内存读写“产品”。同时给出了Windowst和Linux下实现的源代码,使用gcc编译通过。详细参见:http://blog.sina.com.cn/s/blog_53773b5f01000a1j.html
Linux
- 在Linux下实现多线程操作模拟书店管理系统通过Linux下用GCC等工具编码调试通过运行。属本人原创
socket+线程池
- socket+线程池,在unix/linux下编译.-socket threads pool, in unix / linux compiler.
linux 线程 进程经典文章
- 学习操作系统时,进程和线程搞了很久,还是一知半解,看了这一篇文章,才在整体在明白了它们之间的依存-learning operating system, processes and threads engage in a long time, or only a little, having read this article, but only in general they understand the interdependence between the
线程实现一服务器多client
- 有client.c 和 server.c 以及 common.h组成 适用于linux c编程
jibu_c_1.0.0.zip
- C语言多核多线程并行编程源代码。内有大量源代码。,Multi-core multi-threaded C language source code for parallel programming. There are a large number of source code.
threadpool.zip
- 使用IOCP实现的线程池管理,对线程很多的情况有用, Uses line regulation pond management which IOCP realizes, is useful to line regulation very many situations
pthread_exit
- 线程的退出问题,本代码能很好说明线程的退出原理-Thread exit problem, the code can be a good thread out of principle explanation
thread
- linux下的多线程编程的例子,希望对初学多线程的人有所帮助-multithreaded programming under linux example, many beginners want to help people thread
da
- 1.实验目的 (1)理解进程/线程同步的方法,学会运用进程/线程同步的方法解决实际问题; (2)了解windows系统或unix/linux系统下中信号量的使用方法。 -1. Purpose of the experiment (1) understand the process/thread synchronization methods, learn to use the process/thread synchronization methods to solve practi
pi
- linux下的pi多线程源码,可用,gcc下加-pthread编译-pi under the multi-threaded linux source code, available, gcc compiled under the Canada-pthread
string
- 多线程编程入门实例 本人第一次上传;linux操作系统多线程编程-string program code
线程池
- linux下线程池的实现,能够实现多任务操作,不用频繁创建-The Linux thread pool, no test
linux高级编程源码
- 包含linux基本使用的各个高级编程的源码,包括网络、进程间通信、文件、信号量、多线程、互斥锁等等
源码
- windows平台到Linux平台上传任意文件,Linux到Linux平台传输文件,服务端server接收文件,client端发送文件(Windows platform to Linux platform upload any file, Linux to Linux platform transfer files, server-side server receive files, client send files)
pthread
- 提供c/c++多线程开发的API,兼容windows linux平台(provide the developer the application program interface of Multithreading)
VCThreadPool3
- 1.线程池管理器(ThreadPoolManager):用于创建并管理线程池 2.工作线程(WorkThread): 线程池中线程 3.任务接口(Task):每个任务必须实现的接口,以供工作线程调度任务的执行。 4.任务队列:用于存放没有处理的任务。提供一种缓冲机制。 网上的c/c++线程池多是linux下的,这个是VC6.0的线程池。其涉及的主要文件有:ThreadPoolManage、IThreadExcute、TemporarilyThread、ThreadManage、RegKeyIni
linux下的多线程高并发tcp服务器
- 基于epoll的多线程TCP服务器 基于epoll,监听指定端口的TCP请求; TCP长连接、短连接分别使用不同的端口; 当接收到客户端的TCP短连接请求时,返回服务器ip地址、MAC地址;当接收到客户端的TCP长连接请求时,服务器接收连接,客户端周期性向服务器发送心跳; 支持多个客户端的并发TCP请求; 使用多线程技术,同时监听、提供服务; 设计服务器端和客户端的通信协议,使用JSON格式。