| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| pranki |
Posted: Apr 6 2005, 10:25 AM
|
|
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?
|
| sharkenshtein |
Posted: Apr 6 2005, 11:30 AM
|
|
User Level: 2 ![]() ![]() Group: Members Posts: 16 Member No.: 885 Joined: 25-March 05 |
|
| pranki |
Posted: Apr 6 2005, 02:36 PM
|
|
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? |
![]() |
![]() ![]() ![]() |