closed

Loginbox

Please enter your username and password into the following fields to log in.


  • Username:
  • Password:
  •  
  • Auto log in on every visit.


  •  

Read time of pipe



Vincent31 offline
Benutzer
Avatar
Gender: n/a
Location: n/a 
Age:
Posts: 24
Registered: 07 / 2008
Private message
Subject: Read time of pipe  -  Posted: 09.05.2018 - 11:25   -  
Hello,
I would like to know how is working pipe process and if an access time to pipe pipesend() or piperecv() is depending of pipe size or not....in other terms, when reading or writing pipe, are all pipe datas to be moved one rank by program ? in this case, pipe size could impact read access time...

Thanks for help Vincent
This post has been edited 2-times. Last edit: 09.05.2018 - 11:31 by Vincent31.
go down go up
rh offline
Administrator
Avatar
Gender: male
Location: GERMANY  Germany
Age:
Posts: 5291
Registered: 03 / 2002
Homepage Private message
Subject: Re: Read time of pipe  -  Posted: 09.05.2018 - 12:53   -  
Hello Vincent,

the Pipe size has very less impact on read or write time.
A pipe is a circular buffer and is operated with pointers.

rolf
Cars don't buy cars -- Autos kaufen keine Autos.
Henry Ford
go down go up
Vincent31 offline
Benutzer
Avatar
Gender: n/a
Location: n/a 
Age:
Posts: 24
Registered: 07 / 2008
Private message
Subject: Re: Read time of pipe  -  Posted: 09.05.2018 - 13:41   -  
Hello Rolf,

I understand, so all is ok. Many thanks !

Vincent
go down go up
 


Registered users in this topic
Currently no registered users in this section

Delete cookies of this forum  •  FAQ / Help  •  Team page  •  Imprint   |  Local time: 16.07.2018 - 20:27