This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: CreateFiber() : number of fibers limited
- To: cygwin at cygwin dot com
- Subject: RE: CreateFiber() : number of fibers limited
- From: Holger Vogt <holger dot vogt at uni-duisburg dot de>
- Date: Sun, 03 Jun 2001 12:16:07 +0200
- Reply-To: holger dot vogt at uni-duisburg dot de
Hi,
independently of the requested stack size (first parameter in
CreateFiber()), CYGWIN will give only 53 fibers. Only when I increase
the stack size above 9.5 MByte, I will get a further reduction in the
number of fibers created.
The error by GetLastError is always no. 8, 'Not enough storage is
available to process this command.'.
Borland C++Builder Compiler (same test application) will reduce the
number of possible fibers according to stack size. 1000 fibers are no
problem with a stack size of 64 k Byte.
Is it possible that there is a bug in libkernel32.a ?
Regards
Holger Vogt
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple