Location:
Search - 多进程;
Search list
Description: 多进程的解决方案 :
创建一个包含四个窗口的多任务模拟:第一个窗口必须显示一系列的递增偶数;第二个窗口必须显示一系列的递增素数;第三个窗口必须显示任意半径的圆;第四个窗口必须显示一系列的随机矩形。-multi-process solution : Create a window contains four multi-task simulation : a window to show a series of incremental even; The second window must show a series of incremental prime; The third window must demonstrate arbitrary radius of the circle; The fourth window must show a series of random Rectangular.
Platform: |
Size: 50724 |
Author: mars |
Hits:
Description: 支持多个进程并发运行的简单进程管理模拟系统。本系统的同步机构采用的信号量上的P,V操作的机制;控制机构包括阻塞和唤醒操作;时间片中断处理程序模拟的时间片中断;进程调度程序负责为各进程分配处理机。-support multiple concurrent processes running a simple process management simulation system. The system adopted by the synchronization signal quantity of P, V operation of the mechanism; Control agencies, including obstruction and awaken operation; Time Slice interrupt handling procedures-time simulation of interruption; the process scheduler is responsible for the allocation process processor.
Platform: |
Size: 11059 |
Author: 张鹏 |
Hits:
Description: Windows实习报告模板与源码。实习目的:通过本次实习了解操作系统中的进程、线程的区别与联系;掌握多进程、多线程的编程方法;深入了解操作系统原理。-Windows internship with the report template source. Internship Objective : To understand this attachment process of the operating system, the differences and thread; Acquire process, multithreaded programming; Principle-depth understanding of the operating system.
Platform: |
Size: 137708 |
Author: 张生 |
Hits:
Description: 实现一个多进程的作业控制系统,用户可以完成如下操作,
1. 提交自己的作业,让系统调度运行;
2. 将已提交的作业移出;
3. 查看作业的状态。
为了简便起见,假设每个用户最多能提交1个作业,系统中只有2000个用户。-more than one process to achieve operational control of the system, users can complete the operation as follows, 1. Submitted their own operations, Scheduling allows the system operation; 2. has been submitted to the operation outflow; 3. View operating condition. For the sake of simplicity, assume that each user can submit a maximum of one operating system, only 2,000 users.
Platform: |
Size: 160276 |
Author: wanghui |
Hits:
Description: 密码框查看工具 源代码
(1)密码框查看工具提升自身进程的权限,增加DEBUG权限;
(2)根据鼠标位置获得窗口句柄;
(3)根据窗口句柄获得所属的进程ID;
(4)密码框查看工具以PROCESS_ALL_ACCESS方式打开该进程;
(5)往该进程中注入线程代码;
(6)建立并执行远程线程,在该远程线程中使用GetWindowText以获取窗口文本;
(7)密码框查看工具读取内容并显示。
密码框查看工具软件特点:
无需DLL。
对于该功能的实现,一般的做法是是使用全局钩子,将DLL注入所有相应的进程,从而使再使用GetWindowText或WM_GETTEXT消息来获取窗口文本,注意到全局钩子使系统性能下降,并且程序多了一个烦人的DLL。
Platform: |
Size: 180864 |
Author: wxf |
Hits:
Description: 本次程序的题目为:进程管理——支持多个进程并发运行的简单的进程管理模拟系统,对本实验的分析要求是:⑴系统中的同步机构采用信号量上的P、V操作的机制;⑵控制机构包括阻塞和唤醒操作;⑶时间片中断处理程序处理模拟的时间片中断;⑷进程调度程序负责为各进程分配处理机;⑸根据用户的需求来创建n个进程(n为即满足用户需求,又不超出系统可容的最大进程数),各进程互斥地访问使用临界资源 S1、S2;⑹使用动态优先数(如:随阻塞次数的增加而减小优先数,以提高其优先权);⑺进程结束后应能够撤消;⑻进程间能实现“发送”和“接收”两个消息缓冲通信操作;⑼系统在运行过程中随机打印出各进程的状态变换过程、系统的调度过程及公共变量的变化情况,在一个进程运行完毕,进入完成状态后,可以将该进程撤消,也可以动态的创建另一个新的进程。-the procedures on the topic of : process management -- to support multiple concurrent processes running a simple process management simulation system for the analysis of the experimental requirements are : 1 system of institutions using synchronous signals on the amount of P, V operation of the mechanism; 2 control agencies, including obstruction and awaken operation ; 3-time interrupt handling procedures-time simulation of interruption; 4 process scheduler is responsible for the allocation process processors; together according to the user's needs to create process n (n that meet user needs, without exceeding the system can accommodate the largest number of processes), the process of mutual Stating visit to the use of critical resources S1, S2; building a Dynamic priority number (eg :
Platform: |
Size: 27800 |
Author: 赵利君 |
Hits:
Description: 多任务 多进程 51 单片机 C 语言
1.本程序不使用任何汇编指令
2.由定时器T0产生中断,切换进程
3.由于中断或调用子程序,要把PC堆栈,故可以以SP为基址的地方找到PC
4.中断或子程序返回,要把SP出栈给PC,故可以操作SP改变程序入口
5.本程序经调试运行 电路图已上传
6.程序编译是会有一个警告提示,为正常现象,因为保存R0-R7时,重新定义地址,
出现地址覆盖的警告提示。
7.用户以此模板写程序只需写用户的进程子程序和用户初始化子程序,并把各进程参数
放在规定地方,各程序放在规定地方就可以;所有的任务调度已处理好。
Platform: |
Size: 2620 |
Author: niewenli.2007@163.com |
Hits:
Description:
Platform: |
Size: 49152 |
Author: hello_cy |
Hits:
Description: 本文详细讨论了一套IPv6的教学软件的设计和开发实现过程,其中重点研
究了软件设计实现中的技术细节,该软件在linux操作系统中实现,使用
GCC/Q州开发工具。研究内容包括IPv6实现特点;互联网嗅探技术的原理与
危害;基于libpcap函数库开发网络数据的捕获和解析;基于libnet函数库的协
议仿真编辑和发送,能够自己构造特定协议的数据包,如ARP9 ETHERNET,IP,
IPv6,TCP和UDP等,让协议运作过程一目了然;还研究了软件的界面设计,
通过gtk界面设计语言开发界面,并运用多线程多进程编程与网络数据分析接121
函数相结合,达到软件教学的效果。
通过该软件学生能对下一代网络
Platform: |
Size: 3425087 |
Author: smgrtlq |
Hits:
Description: 本次程序的题目为:进程管理——支持多个进程并发运行的简单的进程管理模拟系统,对本实验的分析要求是:⑴系统中的同步机构采用信号量上的P、V操作的机制;⑵控制机构包括阻塞和唤醒操作;⑶时间片中断处理程序处理模拟的时间片中断;⑷进程调度程序负责为各进程分配处理机;⑸根据用户的需求来创建n个进程(n为即满足用户需求,又不超出系统可容的最大进程数),各进程互斥地访问使用临界资源 S1、S2;⑹使用动态优先数(如:随阻塞次数的增加而减小优先数,以提高其优先权);⑺进程结束后应能够撤消;⑻进程间能实现“发送”和“接收”两个消息缓冲通信操作;⑼系统在运行过程中随机打印出各进程的状态变换过程、系统的调度过程及公共变量的变化情况,在一个进程运行完毕,进入完成状态后,可以将该进程撤消,也可以动态的创建另一个新的进程。-the procedures on the topic of : process management-- to support multiple concurrent processes running a simple process management simulation system for the analysis of the experimental requirements are : 1 system of institutions using synchronous signals on the amount of P, V operation of the mechanism; 2 control agencies, including obstruction and awaken operation ; 3-time interrupt handling procedures-time simulation of interruption; 4 process scheduler is responsible for the allocation process processors; together according to the user's needs to create process n (n that meet user needs, without exceeding the system can accommodate the largest number of processes), the process of mutual Stating visit to the use of critical resources S1, S2; building a Dynamic priority number (eg :
Platform: |
Size: 19456 |
Author: 赵利君 |
Hits:
Description: 本次程序的题目为:进程管理——支持多个进程并发运行的简单的进程管理模拟系统,对本实验的分析要求是:⑴系统中的同步机构采用信号量上的P、V操作的机制;⑵控制机构包括阻塞和唤醒操作;⑶时间片中断处理程序处理模拟的时间片中断;⑷进程调度程序负责为各进程分配处理机;⑸根据用户的需求来创建n个进程(n为即满足用户需求,又不超出系统可容的最大进程数),各进程互斥地访问使用临界资源 S1、S2;⑹使用动态优先数(如:随阻塞次数的增加而减小优先数,以提高其优先权);⑺进程结束后应能够撤消;⑻进程间能实现“发送”和“接收”两个消息缓冲通信操作;⑼系统在运行过程中随机打印出各进程的状态变换过程、系统的调度过程及公共变量的变化情况,在一个进程运行完毕,进入完成状态后,可以将该进程撤消,也可以动态的创建另一个新的进程。-the procedures on the topic of : process management-- to support multiple concurrent processes running a simple process management simulation system for the analysis of the experimental requirements are : 1 system of institutions using synchronous signals on the amount of P, V operation of the mechanism; 2 control agencies, including obstruction and awaken operation ; 3-time interrupt handling procedures-time simulation of interruption; 4 process scheduler is responsible for the allocation process processors; together according to the user's needs to create process n (n that meet user needs, without exceeding the system can accommodate the largest number of processes), the process of mutual Stating visit to the use of critical resources S1, S2; building a Dynamic priority number (eg :
Platform: |
Size: 27648 |
Author: 赵利君 |
Hits:
Description: 在一个多道程序设计系统中,实现“作业调度”的模拟。模拟程序的要求如下: 1.输入: 作业流文件,其中存储的是一系列待执行的作业信息,每个作业包括五个数据项:作业号,优先级,进入输入井时间(用一个整数表示,如10:10表示为1010),作业估计运行时间(单位:分钟),内存需求量。各数据项用空格隔开。 2.输出: 按照作业调度次序输出每一个作业流文件:“作业号”、“进入内存时间”、“作业完成时间”、“周转时间”;每行输出一个作业的信息。 计算出平均周转时间并输出。 3.作业调度算法: 短作业优先(作业估计运行时间最短的作业首先被调度)。 4.处理要求: 在两道环境下有多个作业; 程序运行时,首先提示输入测试文件的文件名; 输入文件名后,程序将读入文件中的有关数据,并按照最短作业优先调度算法对作业进行调度,作业被调度运行后不再退出(忽略进程调度或者可以认为进程调度采用的是先来先服务调度算法); 假设内存容量为100K,存储管理方案为可变分区方式,且不允许在内存中移动作业。 -in a multi-program design system, and achieving a "Dispatch" the simulation. The simulation procedure is as follows : 1. Input : Job Flow document, which is stored in a series of operations to be implemented information, including five each operating data : the operations, priority, time to enter the input shaft (with an integer, as expressed to 10:10 1010), is estimated to run time (unit : minutes), the memory demand. The data item separated by a space. 2. Output : In accordance with the scheduling order of output per work- a document : "operations", "memory access time", "complete operational time", "turnaround time"; An output per line operating information. Calculate the average turnaround time and output. 3. Job Scheduling Algorithm :
Platform: |
Size: 3072 |
Author: 陈峰 |
Hits:
Description: 多进程的解决方案 :
创建一个包含四个窗口的多任务模拟:第一个窗口必须显示一系列的递增偶数;第二个窗口必须显示一系列的递增素数;第三个窗口必须显示任意半径的圆;第四个窗口必须显示一系列的随机矩形。-multi-process solution : Create a window contains four multi-task simulation : a window to show a series of incremental even; The second window must show a series of incremental prime; The third window must demonstrate arbitrary radius of the circle; The fourth window must show a series of random Rectangular.
Platform: |
Size: 3430400 |
Author: mars |
Hits:
Description: 支持多个进程并发运行的简单进程管理模拟系统。本系统的同步机构采用的信号量上的P,V操作的机制;控制机构包括阻塞和唤醒操作;时间片中断处理程序模拟的时间片中断;进程调度程序负责为各进程分配处理机。-support multiple concurrent processes running a simple process management simulation system. The system adopted by the synchronization signal quantity of P, V operation of the mechanism; Control agencies, including obstruction and awaken operation; Time Slice interrupt handling procedures-time simulation of interruption; the process scheduler is responsible for the allocation process processor.
Platform: |
Size: 11264 |
Author: 张鹏 |
Hits:
Description: Windows实习报告模板与源码。实习目的:通过本次实习了解操作系统中的进程、线程的区别与联系;掌握多进程、多线程的编程方法;深入了解操作系统原理。-Windows internship with the report template source. Internship Objective : To understand this attachment process of the operating system, the differences and thread; Acquire process, multithreaded programming; Principle-depth understanding of the operating system.
Platform: |
Size: 1961984 |
Author: 张生 |
Hits:
Description: 实现一个多进程的作业控制系统,用户可以完成如下操作,
1. 提交自己的作业,让系统调度运行;
2. 将已提交的作业移出;
3. 查看作业的状态。
为了简便起见,假设每个用户最多能提交1个作业,系统中只有2000个用户。-more than one process to achieve operational control of the system, users can complete the operation as follows, 1. Submitted their own operations, Scheduling allows the system operation; 2. has been submitted to the operation outflow; 3. View operating condition. For the sake of simplicity, assume that each user can submit a maximum of one operating system, only 2,000 users.
Platform: |
Size: 159744 |
Author: wanghui |
Hits:
Description: 密码框查看工具 源代码
(1)密码框查看工具提升自身进程的权限,增加DEBUG权限;
(2)根据鼠标位置获得窗口句柄;
(3)根据窗口句柄获得所属的进程ID;
(4)密码框查看工具以PROCESS_ALL_ACCESS方式打开该进程;
(5)往该进程中注入线程代码;
(6)建立并执行远程线程,在该远程线程中使用GetWindowText以获取窗口文本;
(7)密码框查看工具读取内容并显示。
密码框查看工具软件特点:
无需DLL。
对于该功能的实现,一般的做法是是使用全局钩子,将DLL注入所有相应的进程,从而使再使用GetWindowText或WM_GETTEXT消息来获取窗口文本,注意到全局钩子使系统性能下降,并且程序多了一个烦人的DLL。
Platform: |
Size: 180224 |
Author: wxf |
Hits:
Description: “生产者-消费者”的问题是进程互斥中一个著名的案例。
抽象背景:生产者和消费者共享一个缓冲区:
当生产者快时,保证不会有数据遗漏消费;
当消费者快时,保证不会有数据未产生就被消费;
此问题要求解决如下并发需求:
互斥:任一时刻仅有一个生产者或消费者访问缓冲区
同步:缓冲区满时生产者等待,缓冲区空时消费者等待
大概意思是:有一个有限缓冲区和两类线程,它们是生产者和消费者,生产者把产品放入缓冲区,相反消费者便是从缓冲区中拿走产品。 生产者在缓冲区满时必须等待,直到缓冲区有空间才继续生产;消费者在缓冲区空时必须等待,直到缓冲区中有产品才能继续读取。
我们可以看到,这里存在潜在的竞争条件,所谓竞争条件就是这样一种情况:多个线程对数据产生的作用要依赖于线程的调度顺序的。当两个线程竞相访问同一数据时,就会发生竞争条件。由于时间片的原因,一个线程可以在任意一个时刻打断其他线程,因此数据可能会被破坏或者被错误地解释。
-err
Platform: |
Size: 2048 |
Author: 高建功 |
Hits:
Description: VB共享软件防破解技术资料大全,收集了近20多个vb程序防破解的精彩实例,另含技术思路和设计文档。这些资料主要有:
EnumChildWindows 枚举反调试;
FINDWINDOW检测窗体反调试;
VB 检测按键;
VB-CRC32自校验设计;
VB-检测父进程;
借鸡生蛋;
金蝉脱壳防LOADER;
注册码陷阱圈套;
锁定鼠标范围反调试;
内存分配检测;
-Shareware VB Sourcebook anti-crack technology to collect nearly vb program more than 20 of the best examples of anti-crack, and the other with ideas and technical design documents. These data are mainly: EnumChildWindows enumeration anti-debugging FINDWINDOW detection of anti-debugging form VB keys detection VB-CRC32 self-checking design VB-detection of the parent process by鸡生蛋 金蝉脱壳anti-LOADER License trap traps the scope of the anti-lock debugging mouse detect memory allocation
Platform: |
Size: 4133888 |
Author: zhongxiaosheng |
Hits:
Description: 《C#多线程编程实战》共分为11章,第1章介绍C#中基本的线程操作;第2章描述线程交互细节;第3章解释线程池概念;第4章深入讲解任务并行库框架;第5章深入解释C#5.0中的新功能——异步方法;第6章描述.NET框架中并行算法的标准数据结构;第7章深入讲解并行LINQ基础设施;第8章解释如何以及何时使用Reactive Extensions框架;第9章深入讲解异步I/O进程,包括文件、网络及数据库等场景;第10章针对常见的并行编程问题给出一些解决方案;第11章讲述编写基于Windows 8的异步应用程序的场景。("C# multithreaded programming combat" is divided into 11 chapters, the first chapter introduces the basic operation thread in C#; the second chapter describes thread interaction details; the third chapter explains the concept of thread pool; the fourth chapter deeply explain the task parallel library framework; the fifth chapter deeply explain the new features in C#5.0: asynchronous method; standard description of parallel data structure.NET algorithm in the framework of the sixth chapter; the seventh chapter in-depth explanation of the parallel LINQ infrastructure; the eighth chapter explains how and when to use the Reactive Extensions framework; the ninth chapter in-depth explanation of the asynchronous I/O process, including file, network and database scene; in the tenth chapter gives some solutions of parallel programming problems in common; the eleventh chapter describes the preparation based on asynchronous the application of Windows 8 scene.)
Platform: |
Size: 25056256 |
Author: 边缘1025 |
Hits: