搜索资源列表
CreateThread
- vc使用Win32 API创建、销毁线程的程序源码,感兴趣的可以-Use Win32 API to create, destroy threads
chatting.tar
- 登录聊天,多线程,MD5密码加密,XML存取用户信息-Login to chat, multi-threaded, MD5 password encryption, XML access to user information
labP8
- linux-0.11实现用户态线程,内核级线程未实现-implement user mode linux-0.11 threads, kernel-level threads unrealized
sharememory
- 本实验是主线程和子线程使用共享内存进行通信的实验。-In this study, the main thread and child thread communicate using shared memory experiments.
threadpool-0_2_5-src
- 线程池:在面向对象编程中,创建和销毁对象是很费时间的,因为创建一个对象要获取内存资源或者其它更多资源。在Java中更是如此,虚拟机将试图跟踪每一个对象,以便能够在对象销毁后进行垃圾回收。所以提高服务程序效率的一个手段就是尽可能减少创建和销毁对象的次数,特别是一些很耗资源的对象创建和销毁。-failed to translate
325516shengchanzhexiaofeizhe
- 线程同步的具体实现 生产者消费者问题的具体实现-Thread synchronization implementation Producer consumer
CpuInfo
- 获取当前所有进程线程Cpu占用率,显示本机进程、服务-Get the current occupancy rate of all process threads Cpu
embedded-Linux-application
- 嵌入式Linux应用程序开发详解 目录: 第1 章 Linux 快速入门 第2 章 Linux 基础命令 第3 章 Linux 下的C 编程基础 第4 章 嵌入式系统基础 第5 章 嵌入式Linux开发环境的搭建 第6 章 文件IO编程 第7 章 进程控制开发 第8 章 进程间通信 第9章(多线程编程) 第10章(嵌入式Linux网络编程) 第11章(嵌入式Linux设备驱动开发) 第12章(Qt图形编程)-Embedded Linux app
unix_multithread
- unix多线程编程,分为控制和实现两组。实现多线程的功能-unix multi-threaded programming is divided into two groups of control and implementation. Multi-threading capabilities
GetProcessModuleInform
- 首先通过CreateToolhelp32Snapshot函数创建一个进程的快照,然后通过调用Process32First使用快照返回的句柄对进程进行遍历,相关的信息存放在PROCESSENTRY32结构类型的实例中,通过调用内部的一个函数GetProcessModule,获取对应的进程的模块名称,然后通过对进程地址空间信息的读取,从而获取相应的线程的ID等的信息-First, create a process by CreateToolhelp32Snapshot function snapsh
3.c
- 编写程序实现生产者-消费者问题。使用Linux的pthread线程库,创建2个生产者线程和2 个消费者线程。生产者线程计算当前的时间,把时间、第几次计算时间的序号(循环次 数)和线程ID作为一个消息,把消息放入缓冲区,消费者线程从缓冲区读出一个消息 并显示消息。缓冲区大小为5个,每个生产者线程生产10个消息,每个消费者线程消费 10个消息,即生产和消费分别为20次。 要求:2个生产者线程执行的代码是相同的(即执行同一函数),2个消费者线程也 一样。 提示: 生产者
uS_Test
- 通过线程中对CPU时钟的读取和频率计算,讲时间间隔换算成精确的时间,可以精确到微秒,通过向主程序发消息,实现微秒定时。-Through the thread and read the CPU clock frequency calculation, converted into precise about the time interval of time, accurate to microseconds, send an announcement by the main program, t
main.cpp
- 关于操作系统课程的内存管理模拟实验: Paging, global clock 算法,多线程-Simulation of the operating system memory management
p02
- 使用信号量的司机-售票员多线程通信模型实现。-Drivers use semaphore- conductor to achieve multi-threaded communication model.
db.tar
- Linux下多线程进行数据库操作的接口,基于散列表的实现。-Multi-thread Linux data-base interface with the implementation of hash
wordscount-wc.c
- 多线程实现单词统计工具。允许线程使用互斥锁修改临界资源,确保线程间的同步与协作。-Multi-threading word statistical tools. Allows threads to use a mutex to modify the critical resources to ensure that inter-thread synchronization and collaboration.
Pthread-of-linux
- 在linux环境下编写一个控制台应用程序,程序中有一个共享的整型变量shared_var,初始值为0;创建一个线程并使其立即与主线程并发执行。新创建的线程与主线程均不断地循环,并输出shared_var 的值。主线程在循环中不断地对shared_var 进行加1操作,即每次循环shared_var 被加1;而新创建的线程则不断地对shared_var 进行减1 操作,即每次循环shared_var 被减1。观察程序运行的结果,并对你看到的现象进行解释。-Written in the linux
thread-demo
- qtopia2.2 下的 多线程的demo程序。-A qtopia2.2, multithreading demo program.
thread_pool
- 线程池源代码实现,一个完全的线程池示例,教你如何使用线程池-Source Code implementiert die Thread-Pool, einen voll Threadpool Beispiel beibringen, wie man den Thread-Pool verwenden
linux
- 国嵌的linux的线程开发的pdf文档,多线程编程-State of the linux thread embedded in the development of pdf documents, multi-threaded programming