File handle limit in msvcrt
Wed May 12 07:34:00 GMT 1999
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..
Nirmal Prasad R.
Want to unsubscribe from this list?
Send a message to email@example.com
More information about the Cygwin