搜索资源列表
进程创建
- 1 程序开发步骤 (1) 打开vc,选择菜单项file->new,选择projects选项卡并建立一个名为\"process\"的win32 console applicatoin工程;创建时注意指定创建该工程的目录; (2) 在工程中创建源文件\"process.cpp\":选择菜单项project->add to project->files,在选择框中输入自己想要创建的文件名,这里是\"process.cpp\";接下来询问是否创建新文件时回答\"yes\";然后
comtut17src55
- 我们写程序,经常需要实现这样的需求: 例一、程序运行产生一个窗口,用户关闭的时候需要记录窗口的位置,以便下次运行时保持位置不变; 例二、由于程序运行时间很长,今天执行一部分,明天继续执行。那么在下次运行前要恢复前次的状态; -we write procedures and frequently required to achieve such a demand : an cases, procedures have on the operations of a window, use
DynamicMemoryManage
- 操作系统的内存分配源码,用vc编写,是优先分配,最小块合并,上下回收自动合并-operating system source code memory allocation using vc preparation is the priority, the most small merger The next automatic recovery merger
SelfInjectCode
- 一个不用CreateRemoteThread进行远程线程注入的例子 防止某些防火墙拦截 不是我写的,为了下个代码只好出卖一下作者了-not CreateRemoteThread a remote thread injection to prevent a certain examples intercept some firewall is not my writing, to the next code can only sell what the author
MyProcessManageMent
- 一个在 c++ builder 6 下开发的简单的进程管理器,可以列出当前运行的进程,可选一个过程中止.-a builder in the development of the next six simple process manager, a list of running processes, an optional course of the stay.
48 多线程的实现
- 本实例实现了应用程序的多线程功能,即上下两幅动画分别表示同时运行的线程,是学习多线程编程的好材料-examples of the realization of the application multithreading function, which is next two animation indicated the running threads of study is multi-threaded programming excellent materials
Thread
- 自己学习线程,套接字的一些学习实例,希望通过下个东西 谢谢了-Their own learning thread, socket of learning examples, hope the next thing Thank you
boost-thread
- BOOST库线程库详细说明,可移植的下一代模板元编程。-BOOST library thread library details, the next generation of portable template meta-programming.
simplePC
- Windows进程和线程创建方法实现一个简单的读者写者程序,读者将1~10十个数字一次填入临界区gData,当且仅当gData被读者消费后,写者才可以写入下一个数。-Windows process and thread creation method to implement a simple reader writer program, readers will be number 1 to 10 ten critical areas once populated gData, if and
WaitThread
- 等待一个已有线程自动结束的VC++代码,我们不能只管创建进程,而不管它的死活,应该 学会如何接应它,转向其它方式或进行下一个任务,本代码 主要演示的是跟踪进程的运行状态,并判断它是否仍在运行,如果是,则等待它运行完毕,不妨参考。 -Waiting for a thread has been automatically end the VC++ code, we can not just create the process, regardless of the life and death,
get_linjie
- 如何获得临界区。对线程感兴趣的可以参考下。 很不错的demo-How to get the critical area. Interested can refer to the next thread. Very nice demo
get_event
- 如何使用事件,对线程感兴趣的可以参考下。 很不错的demo-How to use the event, interested can refer to the next thread. Very nice demo
Threading
- 线程实例,很好的实例,大家快来看看,下到就是赚到。跳楼大放送了-Thread instance, good examples, we come take a look, next to that is earned. Run a big jump
20081108xc-T126
- 也是一款多线程源码,很经典,真的很经典,很好用-Thread instance, good examples, we come take a look, next to that is earned. Run a big jump
jinchengjiantongx-1
- 进程间通信的一些相关资料哦。大家可以借鉴下!-Interprocess communication some relevant information oh. We can learn from the next!
banksulotion
- 银行柜员服务问题:银行有n个柜员负责为顾客服务,顾客进入银行先取一个号码,然后等着叫号。当某个柜员空闲下来,就叫下一个号。 编程实现该问题,用P、V操作实现柜员和顾客的同步。 实现要求 某个号码只能由一名顾客取得; 不能有多于一个柜员叫同一个号; 有顾客的时候,柜员才叫号; 无柜员空闲的时候,顾客需要等待; 无顾客的时候,柜员需要等待。 测试文本格式 测试文件由若干记录组成,记录的字段用空格分开。记录第一个字段是顾客序号,第二字段为顾客进入银行的时间,
pthread
- window下一个简单的多线程例子,使用了window的多线API,适合初学者-next window of a simple multi-threaded example, the use of multi-line API window, suitable for beginners
Bank
- 银行有n个柜员负责为顾客服务,顾客进入银行先取一个号码,然后等着叫号。当某个柜员空闲下来,就叫下一个号。 编程实现该问题,用P、V操作实现柜员和顾客的同步。 -Bank tellers have n responsible for customer service, the customer enters the bank to take a number and wait for call number. When a teller idle down, and called the
danchuliji
- 单处理机系统的进程调度 //用running表示进程处于运行态 #define aready 2 //用aready表示进程处于就绪态 #define blocking 3 //用blocking表示进程处于等待态 #define sometime 5 //用sometime 表示时间片大小 #define n 10 //假定系统允许进程个数为n struct { int name //进程标识符 int statu
SuperTaskmgr
- 本程序管理进程比较方便,可以一键结束所有非系统进程,当然,不想结束的可以设置白名单。进程还带了小图标,进程名称旁边就是文件描述,什么进程一目了然,未知进程可以放心结束。 另外,还添加了暂停恢复进程运行,可以随时挂起进程。-The program management process more convenient, can be a key to end all non-system processes, of course, do not want to end can set the