delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/17/07:59:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Ralf Habacker" <Ralf DOT Habacker AT freenet DOT de>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>,
"cygwin" <cygwin AT cygwin DOT com>
Subject: RE: MIT shared memory extension
Date: Fri, 17 May 2002 13:58:18 +0200
Message-ID: <00e001c1fd9a$221a1490$651c440a@BRAMSCHE>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
In-Reply-To: <FC169E059D1A0442A04C40F86D9BA7600C60FF@itdomain003.itdomain.net.au>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

> > Thats all. No patching headers. This enables migrating one
> > package to cygwin ipc stuff, while other packages could use
> > the cygipc stuff.
>
> We still need to do the ABI upgrade though, before that can be done.

You mean building a new cygwin1.dll with shm support ?

I have patched sys/types.h key_t definition with

#ifdef _CYGIPC_IPC_
typedef	long key_t;
#else
typedef	long long key_t;
#endif

have applyed the cygwin.din patches, have recompiled and installed cygwin1.dll
in /usr and than I can compile an app using cygipc and another using cygserver.

What's additional to do ?

So the only thing to do I see is to distribute a new cygwin release with shm
support.

>
> > BTW: This is another thread, but perhaps it is interesting
> > for somebody to see. Below there is a first performance
> > measurement of cygipc relating to cygserver shm support. Only
> > for info.
>
> Interesting. How to read the results? (is lower better or worse?).
>
This results are produced by the profiler lib located in the
http://kde-cygwin.sf.net cvs area

n   = nummer of running tests
min = minimal measured time for one test
max = maximal measured time for one test
avg = average time of all tests
sum = accumulated time for all tests

the results are in usec

> Also, as you can read both codes without issue, would you care to
> document how the cygipc one is much faster?

Hmmh, I have only some assumption, but I will think about this.

BTW: What about a new binutils release. Is this going on ?

Regards
Ralf



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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