delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/30/06:49:35

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 <tmacchant2 AT yahoo DOT co DOT jp>
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
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019