Ignore:
Timestamp:
Jan 13, 2003, 5:51:40 PM (23 years ago)
Author:
sandervl
Message:

Don't allocate selectors anymore. Allocate tiled memory and call Dos32FlatToSel; Get default stack size from PE header; Thread handles not closed properly

File:
1 edited

Legend:

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

    r8898 r9667  
    1 /* $Id: heapshared.cpp,v 1.10 2002-07-21 09:17:28 sandervl Exp $ */
     1/* $Id: heapshared.cpp,v 1.11 2003-01-13 16:51:39 sandervl Exp $ */
    22/*
    33 * Shared heap functions for OS/2
     
    197197void * SYSTEM _smalloc(int size)
    198198{
    199     return _umalloc(sharedHeap, size);
     199    void *chunk;
     200
     201    chunk = _umalloc(sharedHeap, size);
     202    dprintf2(("_smalloc %x returned %x", size, chunk));
     203    return chunk;
    200204}
    201205//******************************************************************************
     
    209213        memset(chunk, 0, size);
    210214    }
     215    dprintf2(("_smallocfill %x %x returned %x", size, filler, chunk));
    211216    return chunk;
    212217}
Note: See TracChangeset for help on using the changeset viewer.