]> sourceware.org Git - newlib-cygwin.git/commitdiff
* heap.cc (heap_init): Remove Sleep.
authorChristopher Faylor <me@cgf.cx>
Wed, 18 Jan 2006 20:40:52 +0000 (20:40 +0000)
committerChristopher Faylor <me@cgf.cx>
Wed, 18 Jan 2006 20:40:52 +0000 (20:40 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/heap.cc

index 862271a5b27da7e2d122ab24c42ba201ce381467..b0f4c2f72188754633a2ae8321367d97cc74c104 100644 (file)
@@ -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.
index 3f6becf76d4c719cc3e3c95d576683181365a100..b45019981d324ad4c00b021955cf3ec1d07f39ac 100644 (file)
@@ -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))
This page took 0.03393 seconds and 5 git commands to generate.