Link Details

Link 1019611 thumbnail
User 225256 avatar

By mswatcher
Submitted: Aug 23 2013 / 08:52

File handles are synchronous by default. If you want asynchronous file handles, you need to pass the FILE_FLAG_OVERLAPPED flag when you create the handle. And all operations on a synchronous file handle are serialized. You'd think this was a simple and obvious rule, but "Someone" finds it "very surprising that operations can block which only handle file metadata."
  • 2
  • 0
  • 66
  • 20

Add your comment


Voters For This Link (2)

Voters Against This Link (0)

    Spring Integration
    Written by: Soby Chacko
    Featured Refcardz: Top Refcardz:
    1. Search Patterns
    2. Python
    3. C++
    4. Design Patterns
    5. OO JS
    1. PhoneGap
    2. Spring Integration
    3. Regex
    4. Git
    5. Java