[Qt-interest] QSharedMemory::create takes an int... why?
Thomas Dähling
t.daehling at googlemail.com
Fri Jul 31 11:45:05 CEST 2009
As per definition, int is always the width of the cpu register. So on
64 bit machines an int should be 64 bit, while on 16 bit machines it
should be 16 bit.
/Thomas
2009/7/31 Patrick Vollebregt <jeet.nl at gmail.com>:
> Hi,
>
> Is there a good reason that QSharedMemory::create takes an int?
>
> I need to allocate a block of shared memory with a size over 4GB (on a
> 64bit system), which is not possible with QSharedMemory at the moment.
>
> Kind regards,
>
> Patrick Vollebregt.
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list