首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > 线程通信 本 文 我 们 将 在VC++4.1 环 境 下 介 绍 一 个 父 进 程 和 其 子 进 程 的 通 信 实 例。 在 父 进 程Parent 窗...

线程通信 本 文 我 们 将 在VC++4.1 环 境 下 介 绍 一 个 父 进 程 和 其 子 进 程 的 通 信 实 例。 在 父 进 程Parent 窗...

  • 资源大小:4.40 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 文档处理

资 源 简 介

线程通信 本 文 我 们 将 在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.

文 件 列 表

新建 文本文档.txt
VIP VIP
0.208284s