* heap.cc (heap_init): Remove Sleep.
This commit is contained in:
parent
339306c5ec
commit
d0236d66d9
|
@ -1,3 +1,7 @@
|
||||||
|
2006-01-18 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* heap.cc (heap_init): Remove Sleep.
|
||||||
|
|
||||||
2006-01-18 Corinna Vinschen <corinna@vinschen.de>
|
2006-01-18 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* net.cc (rresvport): Remove extern declaration.
|
* net.cc (rresvport): Remove extern declaration.
|
||||||
|
|
|
@ -76,14 +76,10 @@ heap_init ()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!p)
|
if (!p)
|
||||||
{
|
api_fatal ("couldn't allocate heap, %E, base %p, top %p, "
|
||||||
if (GetLastError () == ERROR_INVALID_ADDRESS)
|
"reserve_size %d, allocsize %d, page_const %d",
|
||||||
Sleep (2000);
|
cygheap->user_heap.base, cygheap->user_heap.top,
|
||||||
api_fatal ("couldn't allocate heap, %E, base %p, top %p, "
|
reserve_size, allocsize, page_const);
|
||||||
"reserve_size %d, allocsize %d, page_const %d",
|
|
||||||
cygheap->user_heap.base, cygheap->user_heap.top,
|
|
||||||
reserve_size, allocsize, page_const);
|
|
||||||
}
|
|
||||||
if (p != cygheap->user_heap.base)
|
if (p != cygheap->user_heap.base)
|
||||||
api_fatal ("heap allocated at wrong address %p (mapped) != %p (expected)", p, cygheap->user_heap.base);
|
api_fatal ("heap allocated at wrong address %p (mapped) != %p (expected)", p, cygheap->user_heap.base);
|
||||||
if (!VirtualAlloc (cygheap->user_heap.base, allocsize, MEM_COMMIT, PAGE_READWRITE))
|
if (!VirtualAlloc (cygheap->user_heap.base, allocsize, MEM_COMMIT, PAGE_READWRITE))
|
||||||
|
|
Loading…
Reference in New Issue