Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/heap.cc12
2 files changed, 8 insertions, 8 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 862271a5b..b0f4c2f72 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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>
* net.cc (rresvport): Remove extern declaration.
diff --git a/winsup/cygwin/heap.cc b/winsup/cygwin/heap.cc
index 3f6becf76..b45019981 100644
--- a/winsup/cygwin/heap.cc
+++ b/winsup/cygwin/heap.cc
@@ -76,14 +76,10 @@ heap_init ()
break;
}
if (!p)
- {
- if (GetLastError () == ERROR_INVALID_ADDRESS)
- Sleep (2000);
- api_fatal ("couldn't allocate heap, %E, base %p, top %p, "
- "reserve_size %d, allocsize %d, page_const %d",
- cygheap->user_heap.base, cygheap->user_heap.top,
- reserve_size, allocsize, page_const);
- }
+ api_fatal ("couldn't allocate heap, %E, base %p, top %p, "
+ "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)
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))