X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_05,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <20090730104914.52236.qmail@web3314.mail.ogk.yahoo.co.jp> Date: Thu, 30 Jul 2009 19:49:14 +0900 (JST) From: Tatsuro MATSUOKA Reply-To: matsuoka AT nuce DOT nagoya-u DOT ac DOT jp Subject: How cygwin realize posix pipe? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello I have involved in the octave project. Octave uses gnuplot as a graphic backend and data are sent and recieved via pipe. A report of slowness issue of the plot on octave on windows reported. Please see http://www.nabble.com/Plotting-with-3.2.0-on-Windows-is-SLOOOOOOWWWW-td24703690.html In the reply I have shown the results on octave on cygwin. http://www.nabble.com/Re:-Plotting-with-3.2.0-on-Windows-is-SLOOOOOOWWWW-p24706929.html With Octave on cygwin such slowness issue did not happen. I suppose that this is due to the posix pipe in the cygwin. I have a curiosity how cygwin to realize the posix pipe? The knowledge may help to overcome this issue. Is the win32 pipe fuction like CreatePipe Function used in the cygwin ? http://msdn.microsoft.com/en-us/library/aa365152(VS.85).aspx In the octave for native windows (not cygwin) uses win32 pipe function and implement octave_popen2 () which is like popen2 in the posix. (In the Unix code inculding cygwin used pipe funtion to implement) Thank you in advance for your kind consideration. Regards Tatsuro -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple