delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Sun, 3 Jun 2001 00:53:05 +1200 |
From: | Dan Plimak <danp AT systematik DOT co DOT nz> |
To: | Holger Vogt <cygwin AT cygwin DOT com> |
Subject: | Re: CreateFiber() : number of fibers limited |
Message-ID: | <20010603005305.A29081@systematik.co.nz> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | Dan Plimak <danp>, Holger Vogt <cygwin AT cygwin DOT com> |
References: | <3B18D365 DOT 3E8B3181 AT unidui DOT uni-duisburg DOT de> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <3B18D365.3E8B3181@unidui.uni-duisburg.de>; from holger.vogt@uni-duisburg.de on Sat, Jun 02, 2001 at 01:52:05PM +0200 |
X-Fnord: | Fnord! |
On Sat, Jun 02, 2001 at 01:52:05PM +0200, Holger Vogt wrote: > Hi, > > the number of fibers scheduled with CreateFiber() seems to be limited to > 53 in CYGWIN (62 after compiling with MINGW32). This is what I get from > a test case with multiple CreateFiber() calls: > > [...] About the only thing that can cause CreateFiber() to fail is the inability to allocate a stack for the fiber. Code generated by different compilers may cause CreateFiber() to conk out after different amounts of stack allocations (and different amounts of memory hereby allocated). Try lowering the stack size you're giving to CreateFiber(). Also, GetLastError() is your friend. Anyhow, this most likely has nothing to do with Cygwin, but HTH. Cheers, -- danp -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |