搜索资源列表
ThreadMigrate
- 封装win32和POSIX线程API。从而能够使得多线程程序能够方便在windows和linux平台移植。 压缩包中有两个文件:Thread.h和testMain.cpp。其中Thread.h是线程封装的实现,testMain.cpp是测试代码文件。 windows下使用VC7.0编译通过。Linux下用gcc3.2.3编译通过。 该版本只支持下列API: 线程创建,清除。 互斥量操作。 等待其他线程。-Packaging and POSIX threads API. I
preceduredialogegthreat
- 一个多线程的进度对话框源代码 as follows: // ProgDlg.h : header file // CG: This file was added by the Progress Dialog component ///////////////////////////////////////////////////////////////////////////// // CProgressDlg dialog-a multithreaded progress
HideProcessFORXP2000
- 在2000和xp下,隐藏进程,VC6.0测试通过 在需要隐藏进程的时候#incoude\"HideProcess.h\",调用HideProcess()即可。-in 2000 and xp, hidden process, VC6.0 tested in the process need to hide when # incoude "HideProcess.h" Call HideProcess () can be.
VBThreads_[2006-06-14_2308]
- === === === === === === === ==== Zarr s VB Website http://www.zarr.net/vb === === === === === === === ==== This sample piece of VB code has come from Zarr s VB Website at http://www.zarr.net/vb Zarr s VB Website is one of the Internet s
ipb-v2.1.7H
- 采用 UTF-8 编码,完美兼容多语言 中文化的前台界面(不包括论坛帮助) 中文化的后台 中文化的安装与升级系统 中文的版主操作日志 为中文修正的 CSS, Javascr ipt 为中文修正的语言截断 为中文修正的所见所得编辑器 修正邮件预览乱码的问题 修正模板和后台中多处未使用 Charset 声明出现乱码的问题 修正打印页面 HTML 标签错误混乱 去除后台首页附件使用空间统计(附件一多,首页进入奇慢) 加强的 SSI 脚本,允许以 Java
KillProcess
- 进程手术刀1.1版(在vc6.0下编译通过) 与原版只有很少的修改.重要的是自带了psapi.h和psapi.lib,而且修改了编译选项. 注意:这个工程只能在Release模式下编译, 如果谁知道怎样设置在Debug下编译,请告诉我.
process
- #include <string.h> #include <fstream.h> #include <stdio.h> #include <stdlib.h> #define FINISH 0 //完成状态 #define RUNNING 1 //运行状态 #define READY 2 //就绪状态 #define WAITIO 3 //io等待状态 #define WAITREAD 4//读写等待状态
process
- 简单轮转法进程调度 #include "stdio.h" #define getpch(type) (type*)malloc(sizeof(type)) struct pcb { /* 定义进程控制块PCB */ char name[10] char state /*状态 */ int ntime /*需要的运行时间 */ int rtime /*已执行的时间 */ struct pcb* link /*下一个进程控制块的地址 */
cxtq
- 程序提权,全都封好了,直接调用AquirePrivileges()即可。 如果非mfc去掉#include <stdafx.h>即可。-here is the app
PThread
- 线程类,适合C++编程,能够直接引起进行线程的创建等使用,非常清楚,很好用。-Thread class, suitable for C++ programming, can directly lead to thread creation, use, very clear, very good use.
SSiFun-V1.3.0.1
- SSiFun通过设计一个通用、简便的数据接口,来封装Windows进程间函数调用的技术实现细节,提高开发效率。一个Dll同时适用于调用者和服务提供者(即客户端和服务端),避免了服务端、客户端的协议兼容和版本问题。SSiFun提供标准WIN32 API接口,适用于各类编程语言(包括VC++、Delphi、VB、C#等)调用。SSiFun.dll 采用VC++ 7.1(VS2003)编制,提供了 SSiFun.dll、SSiFun.lib、SSiFun.h,可直接加入到VC++项目中调用。 支持
NTService
- 通用NT服务程序的框架,想要编写NT服务的同志们可以下载-General framework for NT service program, you want to prepare comrades NT services can be downloaded
threadpool_src
- 线程池 多线程的管理threadpool.cpp threadpool.h-threadpool
myProcess
- 该头文件中包含查看、结束进程,提升程序权限三个函数。-the .h file contains three functions as folloows: FindProcess(), KillProcess() and EnableDebugPrivilege().
Realization-of-Multithread-Program-Based-on-Callba
- 本文给出了基于回调函数的多线程应用程序实现方法。通过回调函数开辟子线程,而采用回调函数的消息响应函数实现具体的数据处理。因回调函数的消息响应函数可作为VC + + 某个类的成员函数,故可调用该类的其他成员函数和成员变量,从而避免了因采用过多的全局变量进行线程通信而降低系统效率-The met hod for realizing multit hread program based on callback function and Visual c++ is given in this paper
pudn_1
- 此程序是用WTL+ATL编写,开发环境为VS2008。data.dll模拟访问驱动程序获得数据序列(本例中设计为正弦曲线数据,详见DataInfo.h),PC.exe用于模拟生产者消费者模型:一个生产者线程调用DLL获得数据,一个消费者线程获得数据并更新显示数据,主界面线程显示该数据,画出动态数据演变的曲线图。-This procedure is used WTL+ ATL development, development environment for the VS2008. visit da
threadfunctions
- visual c++ 线程函数实例; <unistd.h>头文件相关函数功能说明。-visual c++ thread example of a function <unistd.h> Function Descr iption header file related functions.
banker
- 银行家算法是避免死结(Deadlock)的一个著名的算法,是由艾兹格·迪杰斯特拉在1965年为T.H.E系统设计的一种避免死结产生的算法。它以银行借贷系统的分配策略为基础,判断并保证系统的安全运行。-Banker' s algorithm is to avoid deadlock (Deadlock), a well-known algorithm, by艾兹格迪杰Stella in 1965 for the THE system design to avoid the deadlock
test_inject_class
- 进程间代码注入的原码.....l拦截进程通信数据-======================================================================== MICROSOFT FOUNDATION CLASS LIBRARY : test_inject_class ======================================================================== AppWi
cipandiaodu
- 1、对于如下给定的一组磁盘访问进行调度: 请求服务到达 A B C D E F G H I J K 访问的磁道号 30 50 100 180 20 90 150 70 80 10 160 2、要求分别采用先来先服务、最短寻道优先以及电梯调度方法进行调度。 3、要求给出每种算法中磁盘访问的顺序,计算出平均移动道数。 4、假定当前读写头在90号,向磁道号增加的方向移动。-1, for a given set of as disk access scheduling: Reques