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
8d5db55c
Commit
8d5db55c
authored
Aug 18, 2000
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 18, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Save GET_APCS data before calling any asynchronous procedure calls, in
case the server is called during the APC.
parent
e3bd8d0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
synchro.c
scheduler/synchro.c
+9
-3
No files found.
scheduler/synchro.c
View file @
8d5db55c
...
...
@@ -24,15 +24,21 @@ static void call_apcs(void)
#define MAX_APCS 16
int
i
;
void
*
buffer
[
MAX_APCS
*
2
];
int
count
;
struct
get_apcs_request
*
req
=
get_req_buffer
();
if
(
server_call
(
REQ_GET_APCS
)
||
!
req
->
count
)
return
;
assert
(
req
->
count
<=
MAX_APCS
);
/* make a copy of the request buffer... it may get trashed *
* when the apcs are called */
memcpy
(
buffer
,
req
->
apcs
,
req
->
count
*
2
*
sizeof
(
req
->
apcs
[
0
])
);
for
(
i
=
0
;
i
<
req
->
count
*
2
;
i
+=
2
)
count
=
req
->
count
;
for
(
i
=
0
;
i
<
count
*
2
;
i
+=
2
)
{
PAPCFUNC
func
=
(
PAPCFUNC
)
req
->
apcs
[
i
];
if
(
func
)
func
(
(
ULONG_PTR
)
req
->
apcs
[
i
+
1
]
);
PAPCFUNC
func
=
(
PAPCFUNC
)
buffer
[
i
];
if
(
func
)
func
(
(
ULONG_PTR
)
buffer
[
i
+
1
]
);
}
}
...
...
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