进程间通信(IPC,Inter Process Communication) 1、管道(pipe),包含无名管道和命名管道 1)无名管道 2)命名管道 消息队列 共享内存 ...
分类:
系统相关 时间:
2020-02-03 20:54:43
阅读次数:
93
1、知乎 Vulkan-高性能渲染 2、Life of a triangle - NVIDIA's logical pipeline 3、Round Robin 算法 4、NVIDIA Developer Vulkan 5、Vulkan SDK Tutorial 6、Vulkan In 30 Min ...
分类:
其他好文 时间:
2020-02-03 10:17:02
阅读次数:
96
无名管道只能在具有公共祖先的两个进程间使用,且建议半双工使用(因为历史上就是半双工,虽然有些系统支持全双工管道)。 无名管道通过pipe函数创建 #include <unistd.h> int pipe(int fd[2]); 其中:参数fd返回两个文件描述符,fd[0]只用来读,是输出,fd[1] ...
分类:
其他好文 时间:
2020-02-02 23:45:57
阅读次数:
91
如果是非常简单的多进程执行任务,那么进程间就不需要通讯了,实际情况下,很多业务是需要通讯的,比如,发邮件,如果自进程发送失败了,那么是要通知主进程的等等。 swoole_process进程间支持2种通信方式: 1、管道pipe 2、消息队列 管道通讯 半双工: 数据单向流动, 一端只读, 一端只写。 ...
分类:
其他好文 时间:
2020-02-02 13:48:52
阅读次数:
197
extensions.py文件# -*- coding: utf-8 -*- # 该扩展会在以下事件时记录一条日志: # spider被打开 # spider被关闭 # 爬取了特定数量的条目(items) import logging from collections import defaultd ...
分类:
其他好文 时间:
2020-02-01 12:24:49
阅读次数:
98
Jenkins CI/CD 发布流程管理 1、Jenins 介绍 2、Jenins Git 仓库安装、客户端基本使用 3、Jenkins 安装 4、Jenkins 用户权限管理 5、Jenins 参数化构建 6、Jenkins Master-Slave 架构 7、Jenkins 流水线(Pipeli ...
分类:
其他好文 时间:
2020-01-31 14:15:28
阅读次数:
75
先安装pipenv库 pip3 install pipenv 创建项目目录,cd进入,创建(进入)虚拟环境 pipenv shell 在虚拟环境安装库 pipenv install flask 在虚拟环境卸载库 pipenv uninstall flask 退出虚拟环境 exit 查看库的依赖命令 ...
分类:
其他好文 时间:
2020-01-27 19:20:15
阅读次数:
75
6.1 pipelines 与复合estimators 6.1.1 pipeline 6.1.1.1 Usage 6.1.1.1.1 创建 Pipeline()或 make_pipeline 6.1.1.1.2 访问步骤 pipe.steps[0] 6.1.1.1.3 嵌套参数 6.3 数据处理 6 ...
分类:
其他好文 时间:
2020-01-26 22:31:34
阅读次数:
78
练习: 创建一个管道类 sex.pipe.ts 管道名字叫做sexchange 实现对性别的转换 1 | sexchange --> 男 0 | sexchange --> 女 1 | sexchange : true --> 男 1 | sexchange : false --> boy 0 | ...
分类:
其他好文 时间:
2020-01-23 00:21:46
阅读次数:
109
①创建一个管道类文件 test.pipe.ts 指定transform方法对于数据和参数的处理,将结果返回 ②声明 app.module.ts import {TestPipe} from ' *** ' @NgModule ( { declarations : [ TestPipe ] } ) ③ ...
分类:
其他好文 时间:
2020-01-22 22:22:35
阅读次数:
113