none
NtExtendSection() and multithreading RRS feed

  • Question

  • Could I assume that beginning of a memory section (i.e. memory-mapped file) will be available for the one thread, while another thread performs call NtExtendSection()?

    I see that this is not the case for windows 10 1803, but I cannot understand the reasons.
    Any ideas and suggestions are welcome.

    Corresponding source code is here = https://github.com/leo-yuriev/libmdbx/blob/f626acb39822f905dad4ce65d03a27fd05b9fee8/src/osal.c#L1031
    Wednesday, November 21, 2018 10:06 PM