搜索资源列表
mylibsrc
- 一个线程池的例子 运行环境linux,主要实现了线程的预先创建等 通过该例子可以学到怎样预先创建出一些线程-a thread pool example Linux operating environment. main thread of the advance through the creation of such examples can learn how to create some advance Thread
Linux_multithread
- Linux下多线程编程的相关资料,:研究了在LINUX 操作系统下多线程的编程方法,主要包括多线程的基本创建方法、如何修改 多线程的属性以及线程之间的数据处理. 重点论述了多线程数据处理方法中的互斥锁和条件变量.-Linux multi-threaded programming under the relevant information: The LINUX operating system in multi-threaded programming methods, including
ET2
- 线程描述。主程序创建两个线程myThread1 和 myThread2 ,每个线程打印一句话。使用pthread_create(&id,NULL,(void *) thread,NULL)完成。 先定义每个线程的执行体,然后在main中创建几个线程,最后主线程序等待子线程序结束后再退出。 2、创建两个线程,分别向线程传递如下两种类型的参数 -Thread descr iption. Main program creates two threads myThread1 and my
tcpMuti
- 基于Tcp的多线程并发服务器,利用fork创建线程,一个服务器端可以对应多个客户端-Tcp-based multi-threaded concurrent server, using fork to create threads, a server-side may correspond to multiple clients
pthread
- linux下的多线程的创建及信号同步,信号量,互斥量-under linux to create multi-threaded and signal synchronization, semaphores, mutex volume
linuxC_sourcecode
- 嵌入式linuxC源代码光盘,和《Linux c 编程实战》书本相配套的光盘资料,主要包括:Linux系统下C语言及其编程环境的介绍,系统编程的所有主题——文件和目录、进程、线程、信号、进程间通信、网络编程和图形界面编程、出错处理、库的创建与使用、编写安全的代码等。-Embedded linuxC source code CD-ROM, and " Linux c programming real" books matching CD-ROM information, incl
LINUX-pthread
- 线程的创建和使用 线程的创建是用下面的几个函数来实现的. -pthread
ThreadBook
- 《多线程编程指南》介绍了SolarisTM 操作系统(Solaris Operating System, Solaris OS)中 POSIX® 线程和Solaris 线程的多线程编程接口。本指南将指导应用程序程序员如何创建 新的多线程程序以及如何向现有的程序中添加多线程。-" Multi-threaded Programming Guide" describes the SolarisTM operating system (Solaris Operating
C10K
- Lock.cpp : 锁的操作 , 读锁可以并发 , 写锁独占. Queue.h : 队列的封装 , 队列的读和写都加了锁的保护. Socket.cpp : 套接口的简单封装. Thread.cpp : 线程的封装实现了些简单的线程停止,运行等功能 , 启动别的线程的时候需要继承次类. Worker.cpp : 用户接口类 , 用户需继承此类。 ListenThread.cpp(继承Thread.cpp) : 服务器监听线程.如果有客户端连接通知ThreadPool类,由Th
chuangjianxiancheng
- 对创建线程的编写,比较简单的,可以用,已测试过-The preparation for creating a thread, is relatively simple, and can use, has been tested
thread
- 有关于linux下的线程实验,包含有线程的创建、挂起,通过此例可熟悉线程操作-Under the thread on the linux experiment contains thread creation, hang by a thread in this case may be familiar with the operation! !
threecodes
- 1、 用C语言写一个程序名字为procs4,该程序运行过程中共有4个进程,procs4程序(父进程)创建2个子进程p1和p2,p1子进程再创建一个子进程p3。4个进程完成如下工作: 父进程并打印字符串“I am main process”;p1子进程打印“I am child process p1”字符串;p2子进程打印“I am child process p2”;子进程p3打印字符串“I am child process p3”,然后使用exec(族)系统调用打印当前目录下文件和子目录下
linuxC
- 功能是在一个线程中创建一个新的线程,让两个线程同时运行,但执行不同的代码,有不同的效果。-Function is a thread to create a new thread, so that two threads run concurrently, but the implementation of the different codes have different effects.
thread
- Linux高级环境编程,线程编程、线程的创建、多线程,希望对你的学习有帮助-Senior Environmental Linux programming, thread programming, thread creation, multi-threaded, you want help in learning
mutex_new.cpp.tar
- 两个文件互斥锁的加锁与解锁,以及多线程的创建。-Two file locking and unlocking a mutex, and the creation of multi-threading.
shell
- 在 linux下 线程的 创建,然后 是用 该线程-In under linux thread creation, then use the thread
thread_create
- 旨在linux下的线程的创建,方便了初学者对于线程创建的掌握-Aimed at the creation of the thread under linux convenience beginners mastery for thread creation
pthread-test
- linux下的多线程例子,包含了俩个线程的创建和互斥.-under linux multithreading example, contains both thread creation and mutual exclusion.
newproject
- 实现网络数据收发,串口数据收发,线程的创建使用,文件操作,链表操作(To achieve network data transceiver, serial data transceiver, thread creation, use, file operation, linked list operation)
线程池3
- 线程池 线程池的概念大家应该都很清楚,帮我们重复管理线程,避免创建大量的线程增加开销。(thread pool The concept of thread pool should be clear enough to help us repeat management threads and avoid creating a large number of threads to increase overhead.)