Problems with VirtualAlloc/Lock

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Tue Mar 15 02:56:00 CST 2005


>>>>> "Kuba" == Kuba Ober <kuba at mareimbrium.org> writes:

    >> * VirtualLock does nothing in Wine
    Kuba> VirtualLock does nothing in win95,98,ME as well :)

    Kuba> I bet the correct behaviour for wine is to do anything in
    Kuba> VirtualLock only if you set windows version to NT/2000/XP. Did you
    Kuba> do it?

    Kuba> Anyway, mlock() seems to work fine, so this should be
    Kuba> implementable.

    >> * Wine makes no distinction between MEM_RESERVE and MEM_COMMIT
    Kuba> Assuming that we're talking about VirtualAlloc().

In this context, the different allocation strategy with 2.6 ("flexible
mmap") and the chance of handling out Heappointers above 0x80000000 should
be noted.

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-devel mailing list