delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/10/20:17:05

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
Subject: Re: cygipc (and PostgreSQL) XP problem resolved!
From: Robert Collins <rbcollins AT cygwin DOT com>
To: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <3EBD3896.8000202@ece.gatech.edu>
References: <20030507133326 DOT GA1824 AT tishler DOT net>
<3EB9A54B DOT 8060500 AT ece DOT gatech DOT edu> <20030508135217 DOT GD512 AT tishler DOT net>
<3EBB22F5 DOT 4000801 AT ece DOT gatech DOT edu> <1052541657 DOT 1675 DOT 5 DOT camel AT localhost>
<3EBC8ED0 DOT 4040906 AT ece DOT gatech DOT edu>
<20030510072239 DOT GA19367 AT cygbert DOT vinschen DOT de>
<1052554219 DOT 1824 DOT 14 DOT camel AT localhost>
<20030510082949 DOT GD19367 AT cygbert DOT vinschen DOT de>
<3EBD3179 DOT 6070004 AT ece DOT gatech DOT edu> <20030510171629 DOT GB11448 AT redhat DOT com>
<3EBD3896 DOT 8000202 AT ece DOT gatech DOT edu>
Organization:
Message-Id: <1052612200.897.31.camel@localhost>
Mime-Version: 1.0
Date: 11 May 2003 10:16:40 +1000

--=-M5+Ed+A6t8uCgMHcQ2Sx
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2003-05-11 at 03:36, Charles Wilson wrote:


> > But, be advised that I'm in the process of changing the inode field to
> > a long long so I'm not sure that we wouldn't be just pushing this off
> > a little further.
>=20
> Urk.  That's right -- but unless there is another primitive type that is=20
> bigger than 64 bits, then we're out of luck, and will have to accept=20
> aliasing of some sort.

A lookaside table will do it. We can do that in 64 bits easily.
In 32 bits we'd only have 8 bits for unique inodes - no more than 256
keys on a volume. With 64 bit key_t's, we get up to 40 bits to lookup in
the lookaside table - no worries :}. ftok() will have to become a
cygdaemon wrapped function though - which IIRC it isn't today.

So Chris: go ahead, but tell the cygwin ftok() maintainer when you do
this.  Oh, wait we don't have one just now. Sigh. I'll *try* to find
time.

Rob
--=20
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

--=-M5+Ed+A6t8uCgMHcQ2Sx
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+vZZoI5+kQ8LJcoIRAsKlAKCw+i4yglBEXVy3M4C6pdI9xuXzsgCgnv3C
4KTHtpsf7f3x8E6S7T2p2qA=
=n0b5
-----END PGP SIGNATURE-----

--=-M5+Ed+A6t8uCgMHcQ2Sx--

- Raw text -


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