www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <003101be9c81$4d155330$0f0a0181@devel014> |
From: | "Nirmal Prasad" <nprasad AT truept DOT com> |
To: | <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | File handle limit in msvcrt |
Date: | Wed, 12 May 1999 10:11:15 -0400 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 4.72.3110.5 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
hi, i just happened to find this piece of information regarding file handle limits in msvcrt.dll "The C run-time libraries have a preset limit for the number of files that can be open at any one time. The limit for applications that link with the single-thread static library (LIBC.LIB) is 64 file handles or 20 file streams. Applications that link with either the static or dynamic multithread library (LIBCMT.LIB or MSVCRT.LIB and MSVCRT.DLL), have a limit of 256 file handles or 40 file streams. Attempting to open more than the maximum number of file handles or file streams causes program failure." i know mingw uses the msvcrt.dll and hence should have the above limitation but what about cygwin which uses glibc? Just curious ... i dont think there is any operating system limitation may be some TLS issue from Microsoft or some other stuff like that.. Regards Nirmal Prasad R. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |