Powered by Invision Power Board


  Reply to this topicStart new topicStart Poll

> pipes inside
pranki
Posted: Apr 6 2005, 10:25 AM
Quote Post


Newbie
*

Group: Members
Posts: 2
Member No.: 912
Joined: 6-April 05



Extremely need to understand some aspects of pipes realization. The main question is in which memory are pipes placed?
PMEmail Poster
Top
sharkenshtein
Posted: Apr 6 2005, 11:30 AM
Quote Post


User Level: 2
**

Group: Members
Posts: 16
Member No.: 885
Joined: 25-March 05



PMEmail Poster
Top
pranki
Posted: Apr 6 2005, 02:36 PM
Quote Post


Newbie
*

Group: Members
Posts: 2
Member No.: 912
Joined: 6-April 05



Oh, thanks!
But I've some other questions! :)

1. This page tells about Linux. Are there differences between it and UNIX (Solaris 10)?

2. A pipe has size limit and not so unreachable limit. It's written in mans that pclose() waits for termination of the associated process. But when the pipe is full write() waits too. What will happen if I write a program which open two pipes using p2open(), write something into the first one and call pclose() for it. Then associated process try to write extra data into second pipe and, of course, will be paused, not stopped. My process is waiting for other process' termination, other process is waiting for the second pipe cleaning... Endless cycle, isn't it? Or I don't understand something?
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Programming/Languages | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.1036 ]   [ 12 queries used ]   [ GZIP Enabled ]




Partners: Cambridge Plus :: <Link Available> :: Electronic Consultancy, UK :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum