Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
693d6e48
Commit
693d6e48
authored
Apr 24, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Don't wait for writes to complete in NtFlushVirtualMemory.
parent
7d3559bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
virtual.c
dlls/ntdll/virtual.c
+3
-5
No files found.
dlls/ntdll/virtual.c
View file @
693d6e48
...
...
@@ -58,10 +58,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
virtual
);
WINE_DECLARE_DEBUG_CHANNEL
(
module
);
#ifndef MS_SYNC
#define MS_SYNC 0
#endif
#ifndef MAP_NORESERVE
#define MAP_NORESERVE 0
#endif
...
...
@@ -2734,7 +2730,9 @@ NTSTATUS WINAPI NtFlushVirtualMemory( HANDLE process, LPCVOID *addr_ptr,
{
if
(
!*
size_ptr
)
*
size_ptr
=
view
->
size
;
*
addr_ptr
=
addr
;
if
(
msync
(
addr
,
*
size_ptr
,
MS_SYNC
))
status
=
STATUS_NOT_MAPPED_DATA
;
#ifdef MS_ASYNC
if
(
msync
(
addr
,
*
size_ptr
,
MS_ASYNC
))
status
=
STATUS_NOT_MAPPED_DATA
;
#endif
}
server_leave_uninterrupted_section
(
&
csVirtual
,
&
sigset
);
return
status
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment