码迷,mamicode.com
首页 >  
搜索关键字:pipe    ( 1495个结果
linux c 进程 pipe 通信代码分析
[root@luozhonghua 04]# cat ex04-3-pipe02.c #include #include #include #include #include int main(void){    int result=-1;    int fd[2],nbytes;    pid_t pid;    char string[]="hello,...
分类:系统相关   时间:2014-08-04 02:05:36    阅读次数:307
进程间通信(一)——管道和FIFO
1. 概述管道没有名字,适用于有亲缘关系的进程间。FIFO指first in first out,有一个路径名与之关联,从而允许无亲缘关系的进程间使用。亦称:命名管道named pipe。两者都是单向数据流(半双工管道),具有随进程的持续性,数据都是先进先出,在进程间通信不需要某种形式的同步。2.管...
分类:其他好文   时间:2014-08-01 22:47:22    阅读次数:306
PRG PAULIN v2011 1CD(专业压力容器和管道有限元)+Flaresim 3.06 1CD 火炬模拟设计软件
PRG PAULIN v2011 1CD(专业压力容器和管道有限元) 包含以下模块: Nozzle/Pro 8.5 FE/Pipe 6.5 BOS Fluids 4.6 PCLGol...
分类:其他好文   时间:2014-07-31 16:06:06    阅读次数:293
ctime、atime、mtime的区别
st_atimeTimewhenfiledatawaslastaccessed.Changedbythefollowingfunctions:creat(),mknod(),pipe(),utime(2),andread(2).st_mtimeTimewhendatawaslastmodified.Changedbythefol-lowingfunctions:creat(),mknod(),pipe(),utime(),andwrite(2).st_ctimeTimewhenfilestatuswaslas..
分类:其他好文   时间:2014-07-29 18:17:52    阅读次数:225
Branch Target Buffers
http://en.wikipedia.org/wiki/Branch_target_predictor 简要原理 http://www-ee.eng.hawaii.edu/~tep/EE461/Notes/ILP/buffer.html http://web.cs.dal.ca/~mheywood/CSCI3121/Pipe/05-BTB.pdf 如何设计的? http...
分类:其他好文   时间:2014-07-29 16:23:29    阅读次数:171
POJ2331:Water pipe(IDA*)
Description The Eastowner city is perpetually haunted with water supply shortages, so in order to remedy this problem a new water-pipe has been built. Builders started the pipe from both ends simul...
分类:其他好文   时间:2014-07-26 17:18:12    阅读次数:313
Linux高性能server编程——高级I/O函数
??高级I/O函数pipe函数pipe函数用于创建一个管道,实现进程间的通信。#include int pipe(int pipefd[2]);通过pipe函数创建的文件描写叙述符fd[0]和fd[1]分别构成管道的两端,往fd[1]写入的数据能够从fd[0]读出,不能反过来。管道内部传输的数据时字...
分类:系统相关   时间:2014-07-26 16:52:11    阅读次数:379
管道(Pipe)/createPipe
BOOL CreatePipe(PHANDLE hReadPipe, // 指向读句柄的指针 PHANDLE hWritePipe, // 指向写句柄的指针 LPSECURITY_ATTRIBUTES lpPipeAttributes, // 指向安全属性的指针 DWORD nSize // 管道大...
分类:其他好文   时间:2014-07-23 15:46:29    阅读次数:200
gulp.src()内部实现探究
写在前面本来是想写个如何编写gulp插件的科普文的,突然探究欲又发作了,于是就有了这篇东西。。。翻了下源码看了下gulp.src()的实现,不禁由衷感慨:肿么这么复杂。。。进入正题首先我们看下gulpfile里面的内容是长什么样子的,很有express中间件的味道是不是~我们知道.pipe()是典型...
分类:其他好文   时间:2014-07-23 15:24:57    阅读次数:313
linux里终端安转视频播放器的操作及显示
[enilu@enilu ~]$ mplayerbash: mplayer: command not found[enilu@enilu ~]$ yum list | grep mplayer^C^CExiting on Broken Pipe[enilu@enilu ~]$ [enilu@en.....
分类:系统相关   时间:2014-07-23 11:33:56    阅读次数:490
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!