Ignore:
Timestamp:
Aug 10, 1999, 12:10:09 AM (26 years ago)
Author:
phaller
Message:

Fix: fixes and updates for ODINCRT support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/os2heap.cpp

    r404 r461  
    1 /* $Id: os2heap.cpp,v 1.5 1999-08-03 17:38:59 phaller Exp $ */
     1/* $Id: os2heap.cpp,v 1.6 1999-08-09 22:10:08 phaller Exp $ */
    22
    33/*
     
    1717#include <stdlib.h>
    1818#include <string.h>
     19#include <odincrt.h>
     20
    1921#include "win32type.h"
    2022#include "os2heap.h"
     
    5052  dprintf(("KERNEL32:  HeapCreate: initial size %d, max size %d (flags %X) returned %X\n", dwInitialSize, dwMaximumSize, flOptions, hPrimaryHeap));
    5153
    52   if(!(flOptions & HEAP_NO_SERIALIZE)) {
     54  if(!(flOptions & HEAP_NO_SERIALIZE))
     55  {
     56    ODIN_FS_BEGIN
    5357    hmutex = new VMutex();
     58    ODIN_FS_END
    5459    dassert(hmutex, ("ERROR: new VMutex\n"));
    5560  }
     
    8691    heapelem = hnext;
    8792  }
    88   if(hmutex) {
     93  if(hmutex)
     94  {
    8995    hmutex->leave();
    90     delete hmutex;
     96    ODIN_delete(hmutex);
    9197  }
    9298
Note: See TracChangeset for help on using the changeset viewer.