pipe probs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi folks,

i really dont know whether this is the right place to
ask this question. may be, i should have gone to some
forum on system programming. anyways, i was working on
something where two processes need to communicate thru
2 pipes. say process p1 and p2 communicating thru pip1
and pip2. p1 uses pip1 for writing and p2 for reading.
vice versa for pip2. i need to communicate large
amount of info btw the two procs. after sometime the
two processes seem to deadlock.quite understandably p1
having written to the pip1 to capacity waiting for p2
to drain out pip1 while p2 is already waiting having
written to the pip2 waiting for p1. is there anyway to
prevent such a deadlock or shud i resort to some other
means of ipc.

any plumbers? :) 

thanx and regards
sumit

________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux