Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Subject: Re: cygipc (and PostgreSQL) XP problem resolved!
From: Robert Collins <rbcollins@cygwin.com>
To: Charles Wilson <cwilson@ece.gatech.edu>
Cc: cygwin@cygwin.com
In-Reply-To: <3EBD3896.8000202@ece.gatech.edu>
References: <20030507133326.GA1824@tishler.net>
	 <3EB9A54B.8060500@ece.gatech.edu> <20030508135217.GD512@tishler.net>
	 <3EBB22F5.4000801@ece.gatech.edu> <1052541657.1675.5.camel@localhost>
	 <3EBC8ED0.4040906@ece.gatech.edu>
	 <20030510072239.GA19367@cygbert.vinschen.de>
	 <1052554219.1824.14.camel@localhost>
	 <20030510082949.GD19367@cygbert.vinschen.de>
	 <3EBD3179.6070004@ece.gatech.edu> <20030510171629.GB11448@redhat.com>
	 <3EBD3896.8000202@ece.gatech.edu>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-M5+Ed+A6t8uCgMHcQ2Sx"
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--

