Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileStream improvement in Win32 #64

Merged
merged 1 commit into from
Sep 30, 2012
Merged

FileStream improvement in Win32 #64

merged 1 commit into from
Sep 30, 2012

Conversation

TsudaKageyu
Copy link
Contributor

Made some improvements on FileStream in Win32 for reducing the resource consumption.

@lalinsky
Copy link
Member

I'm not very familiar with the native Windows file API. What are the advantages?

@TsudaKageyu
Copy link
Contributor Author

In Win32, fopen() creates a file descriptor in addition to a native file handle. It significantly increases resource consumption.
CreateFile can open virtually unlimited files concurrently, but fopen() can open up to a couple of thousands files.

@lalinsky
Copy link
Member

Ah, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants