This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: A quick word about the pthreadrope7 fails.
On Thu, 2004-10-14 at 23:06, Paolo Carlini wrote:
> Paolo Carlini wrote:
>
> > ... ... ... And if you want the Data aligned 16, just add a
> > long of padding between the bitmaps and the data.
>
> But be careful *not* adding padding if you have got an even
> number of longs as bitmap info!
Except for the first case(first allocation), all of them will be even!
I have a beta patch in which I have used long. I figured that this
conversion from unsigned int to long can be only better for the
allocator, because now(64-bit) the CPU can manipulate 64-bits directly!
Hence, 64-bits in a bitmap can be checked for emptiness/fullness.
Would you be interested in testing that out on a 64-bit machine?
> Paolo.
--
-Dhruv Matani.
http://www.geocities.com/dhruvbird/
The price of freedom is responsibility, but it's a bargain, because
freedom is priceless. ~ Hugh Downs