-
线程通信 本 文 我 们 将 在VC++4.1 环 境 下 介 绍 一 个 父 进 程 和 其 子 进 程 的 通 信 实 例。 在 父 进 程Parent 窗...
线程通信 本 文 我 们 将 在VC++4.1 环 境 下 介 绍 一 个 父 进 程 和 其 子 进 程 的 通 信 实 例。 在 父 进 程Parent 窗 口 中 按 一 下 鼠 标 左 键, 就 会 产 生 一 个Pipe 和 启 动 子 进 程Child, 并 从Pipe 一 端 发 送 信 息, 同 时Child 启 动 后 会 创 建 一 个 工 作 线 程, 专 门 用 来 从 管 道 的 另 一 端 读 入 数 据。 通 过 父 进 程 菜 单 项 的 控 制 来 改 变 图 形 形 状 参 数, 并 传 给Child 使 之 在 自 己 的 窗 口 中 绘 出 响 应 的 图 形。 下 面 分 别 就 父 进 程Parent 和 子 进 程Child 来 进 行 说 明。-thread communication in this paper we will VC 4.1 environment on the process of a father and his son, the process of communication examples. The parent process Parent window on the mouse button, it will have a Pipe and promoter process Child, and Pipe from one end to send messages and Child will be launched to create a work of threads, devoted to the pipeline from the other end of read data. Father process through a menu item to change the control parameters of graphics shapes and Child pass to make it in their own window graphics charted response. Below process on the father and son Parent Child process to say.
- 2022-01-31 00:24:41下载
- 积分:1
-
程序首先定义一个hello的函数调用int 21h mov ah ,09来显示字符串,ds:dx定义字符串位置 来使用一个80×25的界面使整个程序更加美观 游...
程序首先定义一个hello的函数调用int 21h mov ah ,09来显示字符串,ds:dx定义字符串位置 来使用一个80×25的界面使整个程序更加美观 游戏主程序调用BIOS int 10 的9号功能实现对目标文本的颜色和定位,。游戏主程序可以用int 16 mov ah,00从键盘读取输入的字符在调用int 21 mov ah,01 让键盘输入显示在屏幕中 al=输入的字符,用cmp指令对输入的文本和目标文本进行比较,再利用选择语句将错误的输入字符显示为红色,将正确的输入字符显示为绿色。在整个字符串结束后直接退到dos环境-procedures hello first definition of a function call int 21 hours mov ah, 09 to show string, ds : dx definition string position to use a 80 x 25 interface to make the whole process more attractive game int main program called BIOS on the 9th of 10 functions to achieve the goal of text color and positioning. Game int main program can use 16 mov ah, 00 input from the keyboard to read characters in the call int 21 mov ah, 01 for keyboard input the screen were al = input characters using cmp directive of input text and the text more goals and used the wrong choice of words to the imported characters shown as red, to the correct input characters shown as green. The entire string after the end of direct retreated dos environmen
- 2022-04-22 08:58:00下载
- 积分:1
-
几个生成典型分形图形的计算机算法
几个生成典型分形图形的计算机算法-several typical fractal generation of computer graphics algorithms
- 2022-03-25 21:12:56下载
- 积分:1
-
TrapServer implementation trap information
TrapServer执行trap信息-TrapServer implementation trap information
- 2022-08-13 01:32:52下载
- 积分:1
-
operating system security algorithm
操作系统的安全性算法-operating system security algorithm
- 2023-02-16 15:55:04下载
- 积分:1
-
一个关于教师迷的程序
一个关于教师迷的程序-a fan of the procedure teachers
- 2022-08-05 13:05:40下载
- 积分:1
-
Java的语言基础,可以研究一下
Java的语言基础,可以研究一下-Java-based language, to study
- 2022-12-14 10:45:03下载
- 积分:1
-
关于matlab中simulink地空防御系统仿真。
关于matlab中simulink地空防御系统仿真。-On the matlab in simulink simulation of ground-to-air defense system.
- 2022-02-07 08:04:22下载
- 积分:1
-
Applet与Swing]压缩文件
Applet与Swing]压缩文件 -Applet and Swing] compressed files
- 2022-04-30 14:12:54下载
- 积分:1
-
并行程序设计是当前软件开发的新热点,本课件讲述了并行程序设计的关键技术内容,是很好的学习材料....
并行程序设计是当前软件开发的新热点,本课件讲述了并行程序设计的关键技术内容,是很好的学习材料.-parallel program design is the development of new software hot, The courseware on the parallel program design, the key technical elements, is a very good learning materials.
- 2022-07-09 08:22:56下载
- 积分:1